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

Method getPolyList

Engine/source/forest/forestCollision.cpp:179–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void ForestConvex::getPolyList(AbstractPolyList* list)
180{
181 list->setTransform( &mTransform, Point3F(mScale,mScale,mScale));
182 list->setObject(mObject);
183
184 TSShapeInstance *si = mData->getShapeInstance();
185
186 S32 detail = mData->getCollisionDetails()[hullId];
187 si->animate(detail);
188 si->buildPolyList(list, detail);
189}
190
191
192void Forest::buildConvex( const Box3F &box, Convex *convex )

Callers

nothing calls this directly

Calls 6

Point3FClass · 0.70
setTransformMethod · 0.45
setObjectMethod · 0.45
getShapeInstanceMethod · 0.45
animateMethod · 0.45
buildPolyListMethod · 0.45

Tested by

no test coverage detected