vector3
The vector3
built-in type.
Instance Methods
-
double Length() const
-
Returns the length (magnitude) of the vector.
-
vector2 Unit() const
-
Returns a normalized vector. Equivalent to
vec / vec.Length()
.
The vector3
built-in type.
double Length() const
Returns the length (magnitude) of the vector.
vector2 Unit() const
Returns a normalized vector. Equivalent to vec / vec.Length()
.