RenderWare V2.1

Previous Page Index Next Page

RwCamera*

RwRevolveCamera(RwCamera *camera, RwReal angle);

Description

Rotates the camera about its Z 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 cause the camera to revolve clockwise.

See Also

RwGetCameraLookRight()

RwGetCameraLookUp()

RwPanCamera()

RwResetCamera()

RwSetCameraLookUp()

RwTiltCamera()

RwTransformCameraOrientation()