Clamps the values of the two-element vector a so that they are not less than 0.0 and not greater than 1.0, and stores the result in a
a
0.0
1.0
a 2-element vector object
a clamped to [0.0, 1.0]
[0.0, 1.0]
Generated using TypeDoc
Clamps the values of the two-element vector
a
so that they are not less than0.0
and not greater than1.0
, and stores the result ina