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

Vector3::unit

Материал из RAGE MP Wiki Archive
Версия от 06:06, 31 мая 2019; imported>Micaww (Created page with "This function returns a normalized copy of a Vector3- one that has the same direction but with a magnitude of 1. ==Syntax== <pre> vector.unit(); </pre> == Returns == * {{Ra...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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