nn::ulcd::CTR::StereoCamera::GetDistanceToLevel Member Function#include <nn/ulcd.h>
f32 GetDistanceToLevel(
void
) const;
None.
Gets the distance from the camera to the base plane.
Returns the distance between (1) the new camera position after correction using the calculations of the CalculateMatricesReal function and (2) the position in the virtual space that ties images to the surface of the LCD (the base plane).
If the last executed function is the CalculateMatrices function, this function returns the value provided for the depthLevel argument unchanged.
The calculations made by this function are based on the results obtained during the last call to either CalculateMatrices or CalculateMatricesReal.
CONFIDENTIAL