Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ R_setClientOrthoMatrix
Function
R_setClientOrthoMatrix
engine/src/game.cpp:1649–1654 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1647
}
1648
1649
void R_setClientOrthoMatrix()
1650
{
1651
glMatrixMode(GL_PROJECTION);
1652
glLoadIdentity();
1653
glOrtho(0, game.clientRect.w, game.clientRect.h, 0, -1, 1);
1654
}
1655
1656
void R_setSceneOrthoMatrix()
1657
{
Callers
1
R_render
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected