source: Dev/trunk/src/client/dojox/gfx3d/_base.js @ 529

Last change on this file since 529 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 868 bytes
Line 
1define(["dojo/_base/lang"],function(lang) {
2        var gfx3d = lang.getObject("dojox.gfx3d",true);
3        lang.mixin( gfx3d, {
4                // summary:
5                //              defines constants, prototypes, and utility functions
6               
7                // default objects, which are used to fill in missing parameters
8                defaultEdges:     {type: "edges",     style: null, points: []},
9                defaultTriangles: {type: "triangles", style: null, points: []},
10                defaultQuads:     {type: "quads",     style: null, points: []},
11                defaultOrbit:     {type: "orbit",     center: {x: 0, y: 0, z: 0}, radius: 50},
12                defaultPath3d:    {type: "path3d",    path: []},
13                defaultPolygon:   {type: "polygon",   path: []},
14                defaultCube:      {type: "cube",      bottom: {x: 0, y: 0, z: 0}, top: {x: 100, y: 100, z: 100}},
15                defaultCylinder:  {type: "cylinder",  center: /* center of bottom */ {x: 0, y: 0, z: 0}, height: 100, radius: 50}
16        });
17        return gfx3d;
18});
Note: See TracBrowser for help on using the repository browser.