RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwSetCameraProjection(RwCamera *camera, RwCameraProjection model);

Description

Sets the camera’s projection model.

Arguments

camera Pointer to the camera.

model Camera projection model.

Return Value

The argument camera if successful, and NULL otherwise.

Comments

The projection types are:

• rwPARALLEL Parallel projection.

• rwPERSPECTIVE Perspective projection.

See Also

RwCreateCamera()

RwGetCameraProjection()