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

Function dot

source/src/rendergl.cpp:291–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291void dot(int x, int y, float z)
292{
293 const float DOF = 0.1f;
294 glBegin(GL_TRIANGLE_STRIP);
295 glVertex3f(x-DOF, y-DOF, z);
296 glVertex3f(x+DOF, y-DOF, z);
297 glVertex3f(x-DOF, y+DOF, z);
298 glVertex3f(x+DOF, y+DOF, z);
299 glEnd();
300 xtraverts += 4;
301}
302
303void blendbox(int x1, int y1, int x2, int y2, bool border, int tex, color *c)
304{

Callers 1

cursorupdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected