Skip to content
bg2 engine

Matrixes

Unlike vectors, arrays are defined as two separate classes: one for 3x3 arrays and one for 4x4 arrays. Both types of arrays are extensions of bg2e.math.NumericArray (see math constants for more information).

  • Mat3: 3x3 matrixes.
  • Mat4: 4x4 matrixes.