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

Method getTriIdx

Engine/source/math/util/decomposePoly.cpp:412–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412U8 decompPoly::getTriIdx(U32 tri, U8 idx)
413{
414 if(tri < mTris.size() && idx < 3)
415 return mTris[tri].getVert(idx);
416
417 return 0;
418}
419
420bool decompPoly::checkEdgeLength(F32 len)
421{

Callers 4

buildConvexMethod · 0.80
buildSegmentPolyListMethod · 0.80
castRayMethod · 0.80
_generateVertsMethod · 0.80

Calls 2

getVertMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected