| 1109 | } |
| 1110 | |
| 1111 | static void releaseShapes(PvdMetaDataBinding& binding, PvdDataStream& inStream, const PxRigidActor& inObj) |
| 1112 | { |
| 1113 | InlineArray<PxShape*, 5> shapeData; |
| 1114 | PxU32 nbShapes = inObj.getNbShapes(); |
| 1115 | shapeData.resize(nbShapes); |
| 1116 | inObj.getShapes(shapeData.begin(), nbShapes); |
| 1117 | for(PxU32 idx = 0; idx < nbShapes; ++idx) |
| 1118 | binding.destroyInstance(inStream, *shapeData[idx], inObj); |
| 1119 | } |
| 1120 | |
| 1121 | void PvdMetaDataBinding::createInstance(PvdDataStream& inStream, const PxRigidStatic& inObj, const PxScene& ownerScene, const PxPhysics& ownerPhysics, PsPvd* pvd) |
| 1122 | { |
no test coverage detected