#include <CC3Matrix4x3.h>
Public Attributes | |
GLfloat | colRow [kCC3Matrix4x3ColumnCount][kCC3Matrix4x3RowCount] |
CC3Vector | columns [kCC3Matrix4x3ColumnCount] |
GLfloat | elements [kCC3Matrix4x3ElementCount] |
GLfloat | c1r1 |
GLfloat | c1r2 |
GLfloat | c1r3 |
GLfloat | c2r1 |
GLfloat | c2r2 |
GLfloat | c2r3 |
GLfloat | c3r1 |
GLfloat | c3r2 |
GLfloat | c3r3 |
GLfloat | c4r1 |
GLfloat | c4r2 |
GLfloat | c4r3 |
CC3Vector | col1 |
CC3Vector | col2 |
CC3Vector | col3 |
CC3Vector | col4 |
A structure representing a 4x3 matrix, with data stored in column-major order.
This structure can be used to describe an affine 4x4, where the last row is always (0,0,0,1), and can be left off for storage optimization, and recreated only when necessary.
CC3Matrix4x3 offers several ways to access the matrix content. Content can be accessed by element array index, by element column and row number, or as column vectors.
GLfloat CC3Matrix4x3::c1r1 |
The element at column 1, row 1.
GLfloat CC3Matrix4x3::c1r2 |
The element at column 1, row 2.
GLfloat CC3Matrix4x3::c1r3 |
The element at column 1, row 3.
GLfloat CC3Matrix4x3::c2r1 |
The element at column 2, row 1.
GLfloat CC3Matrix4x3::c2r2 |
The element at column 2, row 2.
GLfloat CC3Matrix4x3::c2r3 |
The element at column 2, row 3.
GLfloat CC3Matrix4x3::c3r1 |
The element at column 3, row 1.
GLfloat CC3Matrix4x3::c3r2 |
The element at column 3, row 2.
GLfloat CC3Matrix4x3::c3r3 |
The element at column 3, row 3.
GLfloat CC3Matrix4x3::c4r1 |
The element at column 4, row 1.
GLfloat CC3Matrix4x3::c4r2 |
The element at column 4, row 2.
GLfloat CC3Matrix4x3::c4r3 |
The element at column 4, row 3.
CC3Vector CC3Matrix4x3::col1 |
The first column as a 3D vector.
CC3Vector CC3Matrix4x3::col2 |
The second column as a 3D vector.
CC3Vector CC3Matrix4x3::col3 |
The third column as a 3D vector.
CC3Vector CC3Matrix4x3::col4 |
The fourth column as a 3D vector.
GLfloat CC3Matrix4x3::colRow[kCC3Matrix4x3ColumnCount][kCC3Matrix4x3RowCount] |
The elements as zero-based indexed columns and rows.
CC3Vector CC3Matrix4x3::columns[kCC3Matrix4x3ColumnCount] |
The four columns as zero-based indexed 3D vectors.
GLfloat CC3Matrix4x3::elements[kCC3Matrix4x3ElementCount] |
The elements in array form.
You can also simply cast the entire union to an array of GLfloats.