root / trunk / web / dojo / dojox / gfx3d / _base.js
History | View | Annotate | Download (790 Bytes)
| 1 | 9 | andrej.cim | /*
 | 
      
|---|---|---|---|
| 2 |         Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
 | 
      ||
| 3 |         Available via Academic Free License >= 2.1 OR the modified BSD license.
 | 
      ||
| 4 |         see: http://dojotoolkit.org/license for details
 | 
      ||
| 5 | */
 | 
      ||
| 6 | |||
| 7 | |||
| 8 | if(!dojo._hasResource["dojox.gfx3d._base"]){  | 
      ||
| 9 | dojo._hasResource["dojox.gfx3d._base"]=true;  | 
      ||
| 10 | dojo.provide("dojox.gfx3d._base");
 | 
      ||
| 11 | dojo.mixin(dojox.gfx3d,{defaultEdges:{type:"edges",style:null,points:[]},defaultTriangles:{type:"triangles",style:null,points:[]},defaultQuads:{type:"quads",style:null,points:[]},defaultOrbit:{type:"orbit",center:{x:0,y:0,z:0},radius:50},defaultPath3d:{type:"path3d",path:[]},defaultPolygon:{type:"polygon",path:[]},defaultCube:{type:"cube",bottom:{x:0,y:0,z:0},top:{x:100,y:100,z:100}},defaultCylinder:{type:"cylinder",center:{x:0,y:0,z:0},height:100,radius:50}});
 | 
      ||
| 12 | }  |