FANDOM


Max

Name Edit

max - returns the maximum of two scalars or each respective component of two vectors

Synopsis Edit

vector1 max(vector1 a, vector1 b);
vector2 max(vector2 a, vector2 b);
vector3 max(vector3 a, vector3 b);
vector4 max(vector4 a, vector4 b);

Parameters Edit

a
Scalar or vector.
b
Scalar or vector.

Description Edit

Returns the maximum of two same-typed scalars a and b or the respective components of two same-typed vectors a and b. The result is a three-component 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.