RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwPanCamera(RwCamera *camera, RwReal angle);

Description

Rotates the camera about its Y axis.

Arguments

camera Pointer to the camera.

angle Angle of rotation (in degrees).

Return Value

The argument camera if successful, and NULL otherwise.

Comments

A positive value for angle will pan the camera to the left.

See Also

RwGetCameraLookAt()

RwGetCameraLookRight()

RwPointCamera()

RwResetCamera()

RwRevolveCamera()

RwSetCameraLookAt()

RwTiltCamera()

RwTransformCameraOrientation()