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

Function R_setMenuOrthoMatrix

engine/src/game.cpp:1664–1670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1662}
1663
1664void R_setMenuOrthoMatrix()
1665{
1666 glMatrixMode(GL_PROJECTION);
1667 glLoadIdentity();
1668 glOrtho(0, game.renderTargets.menuPanel.width,
1669 game.renderTargets.menuPanel.height, 0, -1.0f, 1.0f);
1670}
1671
1672void R_drawSky(RenderTarget target)
1673{

Callers 1

R_renderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected