Skip to content
reduz edited this page Apr 2, 2015 · 18 revisions

Vector2

####Category: Built-In Types

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