C4 Engine
C4 Engine API Documentation

FrustumCameraObject::GetProjectionDistance

Defined in:  C4CameraObjects.h
Returns the projection distance.
Prototype

float GetProjectionDistance(voidconst;

Description
The GetProjectionDistance function returns the distance to the projection plane for the camera. The projection distance g is related to the vertical field of view (FOVy) through the equation

g = 1 / tan(FOVy / 2).
See Also

FrustumCameraObject::SetProjectionDistance