Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Geo::Matrix

Matrix definition.

Note
titleNote

This class uses column major ordering. That is to say elements from the same column are adjacent in memory.

When representing geometric transformations, we transform a point by representing it as a column vector. For convenience, a Matrix is represented as a union of different types so that matrix elements can be referenced by named column, column index, element name, element index. Basic wrapper around a critical section object. Required to protect code paths that are not multi-thread safe.

Variables

NameDescription
v128 c0

Matrix data.

v128 c1

Matrix data.

v128 c2

Matrix data.

v128 c3

Matrix data.