RenderWare V2.1

Previous Page Index Next Page

RwCamera *

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

Description

Re-orients the camera to point at the given point, while keeping its position constant.

Arguments

camera Pointer to the camera.

x X coordinate of the point to look at (in world space coordinates).

y Y coordinate of the point to look at (in world space coordinates).

z Z coordinate of the point to look at (in world space coordinates).

Return Value

The argument camera if successful, and NULL otherwise.

See Also

RwGetCameraLookAt()

RwGetCameraLookRight()

RwGetCameraLookUp()

RwPanCamera()

RwResetCamera()

RwRevolveCamera()

RwSetCameraLookAt()

RwSetCameraLookUp()

RwTiltCamera()

RwTransformCameraOrientation()