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

Function resetcubes

source/src/rendercubes.cpp:412–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void resetcubes()
413{
414 verts.setsize(0);
415
416 striptype = 0;
417 nquads = 0;
418
419 sbright.r = sbright.g = sbright.b = 255;
420 sdark.r = sdark.g = sdark.b = 0;
421
422 resetwater();
423}
424
425struct shadowvertex { float u, v, x, y, z; };
426vector<shadowvertex> shadowverts;

Callers 3

drawreflectionFunction · 0.85
drawminimapFunction · 0.85
gl_drawframeFunction · 0.85

Calls 2

resetwaterFunction · 0.85
setsizeMethod · 0.80

Tested by

no test coverage detected