Перейти к содержанию

Vector3::unit

Материал из RAGE MP Wiki Archive

This function returns a normalized copy of a Vector3- one that has the same direction but with a magnitude of 1.

Syntax

vector.unit();

Returns

  • Vector3 The normalized vector.

See Also