Vec3:normalize

Edit

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

self = Vec3:normalize()

Arguments

None

Returns

NameTypeDescription
selfVec3 The normalized vector.

See also