nn::ulcd::CTR::StereoCamera::GetDistanceToNearClip Member Function

Syntax

#include <nn/ulcd.h>

f32 GetDistanceToNearClip(
     void
) const;

Arguments

None.

Return Values

Distance from camera to the near clipping plane.

Description

Gets the distance from the camera to the near clipping plane.

Returns the distance between (1) the new camera position after correction using the calculations of the CalculateMatricesReal function and (2) the new near clipping plane that was moved in the same way.

If the last executed function is the CalculateMatrices function, this function returns the distance between the new camera position and the near clipping plane of the base camera set during the call unchanged.

The calculations made by this function are based on the results obtained during the last call to either CalculateMatrices or CalculateMatricesReal.

Revision History

2010/04/02
Initial version.

CONFIDENTIAL