MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / SetScreenSize

Method SetScreenSize

utilities/olcUTIL_Hardware3D.h:1195–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193 }
1194
1195 void SetScreenSize(const olc::vi2d& vSize)
1196 {
1197 vScreenSize = vSize;
1198 fProjection_AspectRatio = vScreenSize.x / vScreenSize.y;
1199 RegenerateProjectionMatrix();
1200 }
1201
1202 void SetClippingPlanes(const float fNear, const float fFar)
1203 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected