Vec4:normalize

Adjusts the values in the vector so that its direction stays the same but its length becomes 1.

v = Vec4:normalize()

Arguments

None

Returns

NameTypeDescription
vVec4The original vector.

See also