| 4820 | } |
| 4821 | |
| 4822 | void Sc::Scene::addStatic(StaticCore& ro, void*const *shapes, PxU32 nbShapes, size_t shapePtrOffset, PxBounds3* uninflatedBounds) |
| 4823 | { |
| 4824 | PX_ASSERT(ro.getActorCoreType() == PxActorType::eRIGID_STATIC); |
| 4825 | |
| 4826 | // sim objects do all the necessary work of adding themselves to broad phase, |
| 4827 | // activation, registering with the interaction system, etc |
| 4828 | |
| 4829 | StaticSim* sim = mStaticSimPool->construct(*this, ro); |
| 4830 | |
| 4831 | mNbRigidStatics++; |
| 4832 | addShapes(shapes, nbShapes, shapePtrOffset, *sim, uninflatedBounds); |
| 4833 | } |
| 4834 | |
| 4835 | void Sc::Scene::prefetchForRemove(const StaticCore& core) const |
| 4836 | { |
no test coverage detected