*c | Pointer to camera structure |
n | Near clipping limit |
f | Far clipping limit |
(-1.0 => n > f => -65535.0)
If the specified value is larger than -1.0 or smaller than - 65535.0, it is automatically taken as -1.0 and -65535.0, respectively.
#define N_CLIP -500.f #define F_CLIP -50000.f NJS_CAMERA c; njInitCamera(&c); njSetCameraDepth(&c, N_CLIP, F_CLIP); njSetCamera(&c);