| 4927 | } |
| 4928 | |
| 4929 | void Sc::Scene::addShape(RigidSim& owner, ShapeCore& shapeCore, PxBounds3* uninflatedBounds) |
| 4930 | { |
| 4931 | ShapeSim* sim = mShapeSimPool->construct(owner, shapeCore); |
| 4932 | mNbGeometries[shapeCore.getGeometryType()]++; |
| 4933 | |
| 4934 | //register shape |
| 4935 | mSimulationController->addShape(&sim->getLLShapeSim(), sim->getID()); |
| 4936 | if (uninflatedBounds) |
| 4937 | *uninflatedBounds = mBoundsArray->getBounds(sim->getElementID()); |
| 4938 | registerShapeInNphase(shapeCore); |
| 4939 | } |
| 4940 | |
| 4941 | void Sc::Scene::removeShape(ShapeSim& shape, bool wakeOnLostTouch) |
| 4942 | { |
no test coverage detected