MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / deleteTriangle

Function deleteTriangle

TheForceEngine/TFE_Polygon/polygon.cpp:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 }
244
245 void deleteTriangle(Triangle* tri)
246 {
247 tri->allocated = false;
248 tri->adj[0] = -1;
249 tri->adj[1] = -1;
250 tri->adj[2] = -1;
251 s_freeList.push_back(tri->id);
252 }
253
254 void addPoint(Vec2f vtx)
255 {

Callers 4

addPointFunction · 0.85
constraintSplitFunction · 0.85
insertConstraintFunction · 0.85
computeTriangulationFunction · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected