RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwWCMoveCamera(RwCamera *camera, RwReal x, RwReal y, RwReal z);

Description

Moves the camera position by the given delta (x, y, z) values, with respect to the world space coordinate system.

Arguments

camera Pointer to the camera.

x Amount to move the camera parallel to the world X axis (in world space units).

y Amount to move the camera parallel to the world Y axis (in world space units).

z Amount to move the camera parallel to the world Z axis (in world space units).

Return Value

The argument camera if successful, and NULL otherwise.

See Also

RwGetCameraPosition()

RwResetCamera()

RwSetCameraPosition()

RwTransformCamera()

RwVCMoveCamera()