Vec4:div

Divides the vector by a vector or a number.

v = Vec4:div(u)

Arguments

NameTypeDescription
uVec4The other vector to divide the components by.

Returns

NameTypeDescription
vVec4The original vector.

v = Vec4:div(x)

Arguments

NameTypeDescription
xnumberThe number to divide each component by.

Returns

NameTypeDescription
vVec4The original vector.

See also