njRotateViewX | Japanese |
---|---|
<-|INDEX|-> | |
Rotates the view around the X axis (absolute rotation). |
#include <Ninja.h> void njRotateViewX(*v, ang) NJS_VIEW *v Angle ang
#define VIEW_PX 0.f #define VIEW_PY 0.f #define VIEW_PZ 3000.f #define VIEW_VX 0.f #define VIEW_VY 0.f #define VIEW_VZ -1.f #define VIEW_ROLL 0 NJS_VIEW v; v.px = VIEW_PX; v.py = VIEW_PY; v.pz = VIEW_PZ; v.vx = VIEW_VX; v.vy = VIEW_VY; v.vz = VIEW_VZ; v.roll = NJM_DEG_ANG(VIEW_ROLL); njSetView(&v); njRotateViewX(&v, NJM_DEG_ANG(90)); njClearMatrix();
njRotateViewX | <-|INDEX|-> |
---|