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