*c | Pointer to camera structure |
ang | Rotation angle (relative amount) |
Camera is at (0, 0, 0) and facing (0, 0, -1) direction. The following leaves camera position as is and rotates only visual axis by 90 degrees around Y axis. NJS_CAMERA c; njInitCamera(&c); njYawCamereInterest(&c, NJM_DEG_ANG(90)); njSetCamera(&c);