Matrix definition.
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. |
Name | Description |
---|---|
v128 c0 | Matrix data. |
v128 c1 | Matrix data. |
v128 c2 | Matrix data. |
v128 c3 | Matrix data. |