Skip to content
cjcliffe edited this page Oct 15, 2011 · 3 revisions

CubicVR.vec2

The vec2 object provides tools for working with 2D Vectors.

Methods:

equal( v1, v2 )

Parameters:

  • v1 : First 2D vector to compare, format: [0.0, 0.0]
  • v2 : Second 2D vector to compare, format: [0.0, 0.0]

Returns:

true if v1 == v2, false otherwise.

Clone this wiki locally