dojox
»
gfx3d
»
lighting
» length2Color
dojox.gfx3d.lighting.length2Color
dojo.require("dojox.gfx3d.lighting");
defined in dojox/gfx3d/lighting.js
Usage
function (c)
(view source)
return
c.
r
*
c.
r
+ c.
g
*
c.
g
+ c.
b
*
c.
b
+ c.
a
*
c.
a
;
parameter
type
description
c