| 64 | //------------------------------------------------------------------------------------- |
| 65 | |
| 66 | void TSPartInstance::addObject(S32 objectIndex) |
| 67 | { |
| 68 | if (mSourceShape->mMeshObjects[objectIndex].forceHidden || |
| 69 | mSourceShape->mMeshObjects[objectIndex].visible < 0.01f) |
| 70 | // not visible, don't bother |
| 71 | return; |
| 72 | |
| 73 | mMeshObjects.push_back(&mSourceShape->mMeshObjects[objectIndex]); |
| 74 | } |
| 75 | |
| 76 | void TSPartInstance::updateBounds() |
| 77 | { |