return the angle between this vector and the passed one
other vector
angle in radians
return the cross product of this vector and the passed one
other vector
The cross product.
Calculates the Euclidean distance between this vector and another vector.
The vector to which the distance is calculated.
The Euclidean distance between this vector and the given vector.
return the dot product of this vector and the passed one
other vector
The dot product.
interpolate the position of this vector towards the given one by the given maximum step.
vector to rotate towards
the maximum step per iteration (Negative values will push the vector away from the target)
Reference to this object for method chaining
a generic 2D Vector Object