ProtectedconstructorInternalVector constructor, creating an instance with the given coordinates
X coordinate
Y coordinate
X coordinate of the vector
Y coordinate of the vector
Z coordinate
Returns the current vector angle, based on x,y values
the current vector angle, based on x,y values
Sets the x,y values using an angle, length must be greater than 0
the angle to set
Returns the current vector length, based on x,y values
the current vector length, based on x,y values
Sets the x,y values using the length
the length to set
StaticoriginA new vector, with coordinates in the origin point
a new vector, with coordinates in the origin point
Adds the current and the given vector together, without modifying them
the vector used for the sum operation
the sum vector
Adds the given vector to the current one, modifying it
the vector to add to the current one
Divides the given scalar and the current vector together, without modifying it
the scalar value to divide from the current vector
the divided vector
Divides the given scalar from the current vector, modifying it
the scalar value to divide from the current vector
Get the squared length value
the squared length value
Multiplies the given scalar and the current vector together, without modifying it
the scalar value to multiply to the vector
the multiplied vector
Multiplies the given scalar to the current vector, modifying it
the scalar value to multiply to the vector
Normalizes the current vector, modifying it
Creates a new vector, rotating the current one, without modifying it
the rotation angle
the rotated vector
Set the vector to the specified velocity
the coordinates used to set the current vector
Subtracts the current and the given vector together, without modifying them
the vector used for the subtract operation
the subtracted vector
Subtracts the given vector from the current one, modifying it
the vector to subtract from the current one
StaticcloneClones the given vector
the vector to clone
a new vector instance, created from the given one
StaticcreateCreates a new vector instance
X coordinate
Optionaly: numberY coordinate
the new vector created
2D vector specialization built on top of Vector3d.