Ratio between Radians and degrees
Length of Vector on X-Axis
Length of Vector on Y-Axis
Clones current Vector
A copy of current Vector
Returns the direction of the Vector. A zero-length Vector has an angle of 0
Relative to this vector
The direction of the Vector in degrees
Returns the direction of the Vector. A zero-length Vector has an angle of 0
Relative to this vector
The direction of the Vector in radians
Returns the dot product of vectors
Second vector
dot product
Returns length of Vector
length (magnitude) of the Vector
Returns length of Vector (synonym of getLength)
length (magnitude) of the Vector
Returns a normal Vector
A new orthogonal Vector
Checks if vector is a zero Vector
true only if the length of the Vector is zero
Multiplies the length of the Vector
Multiplier
Current Vector
Changes the length of the Vector to 1
current Vector
Rotates Vector
Rotation angle in degrees
Current Vector
Rotates Vector
Rotation angle in radians
Current Vector
Sets new values for Vector
New X-Axis value
New Y-Axis value
Current Vector
Limits the length of a Vector, trucates it if necessary
The maximum length (magnitude) allowed for the Vector
current Vector
Generated using TypeDoc
Represents a 2D Vector