MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / R_setSceneOrthoMatrix

Function R_setSceneOrthoMatrix

engine/src/game.cpp:1656–1662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1654}
1655
1656void R_setSceneOrthoMatrix()
1657{
1658 glMatrixMode(GL_PROJECTION);
1659 glLoadIdentity();
1660 glOrtho(0, game.renderTargets.scene.width, game.renderTargets.scene.height,
1661 0, -1.0f, 1.0f);
1662}
1663
1664void R_setMenuOrthoMatrix()
1665{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected