search

goog.math.Vec2

Provided By
Extends

Class for a two-dimensional vector object and assorted functions useful for manipulating points.

new Vec2( x, y )

Parameters
xnumber

The x coordinate for the vector.

ynumber

The y coordinate for the vector.

Instance Methods

Instance Properties

Static Functions