Go to the source code of this file.
|
class | Matrix4 |
| 4x4 matrix class with numerous operators, conversions, etc. More...
|
|
◆ print_Matrix4()
void print_Matrix4 |
( |
const Matrix4 * |
mat4 | ) |
|
Print formatted matrix.
Definition at line 379 of file Matrix4.C.
References Matrix4::mat.
381 for (i=0; i<4; i++) {
382 for (j=0; j<4; j++) {
383 printf(
"%f ", mat4->
mat[4*j+i]);
double mat[16]
the matrix itself
◆ trans_from_rotate()
void trans_from_rotate |
( |
const double |
mat3[9], |
|
|
Matrix4 * |
mat4 |
|
) |
| |
Transform 3x3 into 4x4 matrix:
Definition at line 369 of file Matrix4.C.
References Matrix4::mat.
371 for (i=0; i<3; i++) {
372 mat4->
mat[0+i] = mat3[3*i];
373 mat4->
mat[4+i] = mat3[3*i+1];
374 mat4->
mat[8+i] = mat3[3*i+2];
double mat[16]
the matrix itself