search

goog.math.Vec3

Provided By
Extends

Class for a three-dimensional vector object and assorted functions useful for manipulation.

Inherits from goog.math.Coordinate3 so that a Vec3 may be passed in to any function that requires a Coordinate.

new Vec3( x, y, z )

Parameters
xnumber

The x value for the vector.

ynumber

The y value for the vector.

znumber

The z value for the vector.

Instance Methods

Instance Properties

Static Functions