njRotateXYZ | Japanese |
---|---|
<-|INDEX|-> | |
Applies a matrix that gives rotation around X, Y, and Z axes. |
#include <Ninja.h> void njRotateXYZ(*m, x, y, z) NJS_MATRIX *m Angle x Angle y Angle z
NJS_MATRIX stack[10]; NJS_VIEW view; njInitMatrix(stack, 10); njInitView(&view); njSetView(&view); njClearMatrix(); njPushMatrix(NULL); njRotateXYZ(NULL, NJM_DEG_ANG(30), NJM_DEG_ANG(60), NJM_DEG_ANG(90)); njPopMatrix(1);
njRotateXYZ | <-|INDEX|-> |
---|