Clamp 01

Name Edit

Clamp 01

Synopsis Edit

vector1 clamp(vector1 v);
vector2 clamp(vector2 v);
vector3 clamp(vector3 v);
vector4 clamp(vector4 v);

Parameters Edit


Input vector or scalar

Description Edit

Doesn't allow vector v to be smaller than zero or be bigger that 1.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.