*m | Destination matrix |
ang | Rotation angle |
The following applies a matrix that gives rotation by 90 degrees around the Y axis to the current matrix. NJS_MATRIX stack[10]; NJS_VIEW view; njInitMatrix(stack, 10); njInitView(&view); njSetView(&view); njClearMatrix(); njPushMatrix(NULL); njRotateY(NULL, NJM_DEG_ANG(90)); njPopMatrix(1);