Class: Vec2
Lua
C++
Edit

Vec2:Normalize

This method returns the normalized vector. The resulting vector will have a length of one.

Syntax

Returns

Returns the normalized vector. If the magnitude of this vector is zero, a vector with zero length will be returned.

Copyright © 2024 Ultra Software.
All rights reserved.