Get the magnitude of the vector
The magnitude of the vector
Copy the target vector properties
The vector to copy from
Get the distance with another vector
The vector to compare
The magnitude of the distance
Compare if two vector are equals
The vector to compare
True if the vectors are equals, false if not
Static
addStatic
crossStatic
dotStatic
normalStatic
roundStatic
scaleStatic
subtractStatic
unit
Represents a 2D vector and provides static methods for vector calculations.
Example