Name Edit

abs - returns absolute value of scalars and vectors.

Synopsis Edit

vector1 abs(vector1 a);
vector2 abs(vector2 a);
vector3 abs(vector3 a);
vector4 abs(vector4 a);

Parameters Edit


Vector or scalar of which to determine the absolute value.

Description Edit

Returns the absolute value of a scalar or vector.

For vectors, the returned vector contains the absolute value of each element of the input vector.

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.