See the dojox/gfx3d/_base reference documentation for more information.
calculate a cylindrical gradient
| Parameter | Type | Description |
|---|---|---|
| model | dojox.gfx3d.lighting.Model | color model |
| material | Object | defines visual properties |
| center | Object | center of the cylinder's bottom |
| radius | Number | radius of the cylinder |
| from | Number | from position in radians |
| to | Number | from position in radians |
| matrix | Object | the cumulative transformation matrix |
a 3D matrix object
Normalizes a 3D matrix-like object. If arrays is passed, all objects of the array are normalized and multiplied sequentially.
| Parameter | Type | Description |
|---|---|---|
| arg | Object | a 3D matrix-like object, a number, or an array of such objects |