Converts 3x3 matrix to 4x4 matrix. 4x4 matrix defaults to identity
Matrix3f m1 = matrixf( 1, 0, 0, 0, 1, 0, 0, 0, 1 ); Matrix4f m2 = matrix3x3to4x4(m1); assert(m2 == matrixf( 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) );
See Implementation
Converts 3x3 matrix to 4x4 matrix. 4x4 matrix defaults to identity