MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / findPointsInside

Method findPointsInside

Engine/source/math/util/decomposePoly.cpp:361–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361void decompPoly::findPointsInside()
362{
363 mInsideVerts.clear();
364
365 for(U8 i = 0; i < mVertList.size(); i++)
366 {
367 if(i != mTestTri.getVert(0) && i != mTestTri.getVert(1) && i != mTestTri.getVert(2))
368 {
369 if(isInside(mTestTri, i))
370 {
371 mInsideVerts.push_back(i);
372 }
373 }
374 }
375}
376
377void decompPoly::addRemoveEdge(U8 idx1, U8 idx2)
378{

Callers

nothing calls this directly

Calls 5

getVertMethod · 0.80
isInsideFunction · 0.50
clearMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected