dojox
»
gfx3d
»
lighting
» saturate
dojox.gfx3d.lighting.saturate
dojo.require("dojox.gfx3d.lighting");
defined in dojox/gfx3d/lighting.js
Usage
function (v)
(view source)
return
Math
.
min
(
Math
.
max
(
v,
0
)
,
1
)
;
parameter
type
description
v