alias for scalar
Calculate the angle between two vectors. If the second paramter is true, the return value is converted to degrees. Otherwise, radiant is used.
Calculate the diff between two vectors.
Checks if this vector is empty. This means that his coordinates are 0.
Normalize the vector in which the coordinates are divided by the length.
Supported operation: +, -, *, / and %
Supported operation: +, -, *, / and %
Compares two vectors by checking whether the coordinates are equals.
Returns a negated copy of this Vector.
Supported operation: +=, -=, *=, /= and %=
Supported operation: +=, -=, *=, /= and %=
Calculate the scalar product.
Calculate the length.
Vector2 is a structure that defines a two-dimensional point.