MCPcopy Create free account
hub / github.com/FreeFem/FreeFem-sources / SetScreenView

Method SetScreenView

src/Graphics/ffglut.cpp:2190–2200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2188}
2189
2190void OneWindow::SetScreenView() const
2191{
2192
2193 glDisable(GL_TEXTURE_2D);
2194 glDisable(GL_DEPTH_TEST);
2195 glMatrixMode(GL_PROJECTION);
2196 glLoadIdentity();
2197 glOrtho(0,width,0,height,-1,1);
2198 glMatrixMode(GL_MODELVIEW);
2199 glLoadIdentity();
2200}
2201
2202void OneWindow::SetView()
2203{

Callers 1

DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected