RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwSetCameraNearClipping(RwCamera *camera, RwReal near);

Description

Sets the distance from the camera position to the near (front) clipping plane.

Arguments

camera Pointer to the camera.

near Distance (in world space units) from the camera to the near clipping plane.

Return Value

The argument camera if successful, and NULL otherwise.

Comments

The default near clipping distance is CREAL(0.05). The minimum clipping distance which can be specified is CREAL(0.025).

See Also

RwCreateCamera()

RwGetCameraFarClipping()

RwGetCameraNearClipping()

RwSetCameraFarClipping()