| 177 | } |
| 178 | |
| 179 | void 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 | |
| 192 | void Forest::buildConvex( const Box3F &box, Convex *convex ) |
nothing calls this directly
no test coverage detected