Vec4:normalize

Edit

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

self = Vec4:normalize()

Arguments

None

Returns

NameTypeDescription
selfVec4 The normalized vector.

See also