MCPcopy Create free account
hub / github.com/assaultcube/AC / box2d

Function box2d

source/src/rendergl.cpp:238–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238void box2d(int x1, int y1, int x2, int y2, int gray)
239{
240 glColor3ub(gray, gray, gray);
241 glBegin(GL_LINE_LOOP);
242 glVertex2f(x1, y1);
243 glVertex2f(x2, y1);
244 glVertex2f(x2, y2);
245 glVertex2f(x1, y2);
246 glEnd();
247}
248
249void quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx, float tsy)
250{

Callers 3

blendboxFunction · 0.85
renderhudtexturepreviewFunction · 0.85
loopiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected