Clamps the values of the 4-element vector a so that they are not less than 0.0 and not greater than 1.0, and stores the result in b
a
0.0
1.0
b
a 4-element vector object
a 4-element vector in which to store the result
b as a clamped to [0.0, 1.0]
[0.0, 1.0]
Generated using TypeDoc
Clamps the values of the 4-element vector
a
so that they are not less than0.0
and not greater than1.0
, and stores the result inb