Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ R_setPPOrthoMatrix
Function
R_setPPOrthoMatrix
engine/src/game.cpp:1642–1647 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1640
}
1641
1642
void R_setPPOrthoMatrix()
1643
{
1644
glMatrixMode(GL_PROJECTION);
1645
glLoadIdentity();
1646
glOrtho(-1, 1, -1, 1, -1, 1);
1647
}
1648
1649
void R_setClientOrthoMatrix()
1650
{
Callers
1
R_render
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected