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

Method end

Engine/source/collision/planeExtractor.cpp:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void PlaneExtractorPolyList::end()
115{
116 // See if there are any duplicate planes
117 PlaneF &plane = mPlaneList->last();
118 PlaneF *ptr = mPlaneList->begin();
119 for (; ptr != &plane; ptr++)
120 if (mFabs(ptr->d - plane.d) < DistanceEpsilon &&
121 mDot(*ptr,plane) > NormalEpsilon) {
122 mPlaneList->decrement();
123 return;
124 }
125}
126
127void PlaneExtractorPolyList::vertex(U32)
128{

Callers

nothing calls this directly

Calls 5

mFabsFunction · 0.85
decrementMethod · 0.80
mDotFunction · 0.50
lastMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected