MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / g3_GetAspectRatio

Function g3_GetAspectRatio

renderer/HardwareSetup.cpp:39–39  ·  view source on GitHub ↗

returns the user-specified aspect ratio used to override the renderer's

Source from the content-addressed store, hash-verified

37void g3_SetAspectRatio(float aspect) { sAspect = aspect; }
38// returns the user-specified aspect ratio used to override the renderer's
39float g3_GetAspectRatio() { return sAspect; }
40
41void g3_GetViewPortMatrix(float *viewMat) {
42 // extract the viewport data from the renderer

Callers 1

TCSSSCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected