Skip to content
This repository

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.

Something went wrong with that request. Please try again.