MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetAspectRatio

Function GetAspectRatio

trinity/Tr2Renderer_Blue.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67static float GetAspectRatio()
68{
69 return Tr2Renderer::GetAspectRatio();
70}
71MAP_FUNCTION_AND_WRAP( "GetAspectRatio", GetAspectRatio, "Returns the aspect ratio, width divided by height." );
72
73static void SetPerspectiveProjectionOffCenter( float left, float right, float bottom, float top, float front, float back )

Callers 9

CalculateBoxPositionMethod · 0.85
RenderUpscalingMethod · 0.85
SetAngleXMethod · 0.85
SetAngleYMethod · 0.85
SetScalingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected