Vector2F
Constructors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the x component of this vector.
Link copied to clipboard
Returns the y component of this vector.
Link copied to clipboard
Returns the distance from this vector to the other.
Link copied to clipboard
Link copied to clipboard
Divides this vector by the other vector component-wise.
Link copied to clipboard
Link copied to clipboard
Multiplies this vector by the other vector component-wise.
Link copied to clipboard
Returns a normalized copy of this vector if this vector magnitude is large enough to safely normalize. Else returns defaultValue.
Returns a normalized copy of this vector if this vector magnitude is large enough to safely normalize. Else returns the result of calling the defaultValue function.
Link copied to clipboard
Returns a normalized complex number which represent rotation from this vector to the other vector.
Link copied to clipboard
Returns the squared distance from this vector to the other.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the negative of this vector.