Skip to content
reduz edited this page Feb 23, 2014 · 18 revisions

Vector2

Brief Description

Vector used for 2D Math.

Member Functions

Member Variables

Member Function Description

Returns the distance to vector "b".

Returns the dot product with vector "b".

Remove the fractional part of x and y.

Returns the length of the vector.

Returns the result of the linear interpolation between this vector and "b", by amount "i".

Returns a normalized vector to unit length.

Clone this wiki locally