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

Function linestyle

source/src/rendergl.cpp:219–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217
218
219void linestyle(float width, int r, int g, int b)
220{
221 glLineWidth(width);
222 glColor3ub(r,g,b);
223}
224
225VARP(oldselstyle, 0, 1, 1); // Make the old (1004) grid/selection style default (render as quads rather than tris)
226

Callers 4

renderclipFunction · 0.85
cursorupdateFunction · 0.85
loopvFunction · 0.85
DrawNearWaypointsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected