| 1099 | } |
| 1100 | |
| 1101 | static void sendShapes(PvdMetaDataBinding& binding, PvdDataStream& inStream, const PxRigidActor& inObj, const PxPhysics& ownerPhysics, PsPvd* pvd) |
| 1102 | { |
| 1103 | InlineArray<PxShape*, 5> shapeData; |
| 1104 | PxU32 nbShapes = inObj.getNbShapes(); |
| 1105 | shapeData.resize(nbShapes); |
| 1106 | inObj.getShapes(shapeData.begin(), nbShapes); |
| 1107 | for(PxU32 idx = 0; idx < nbShapes; ++idx) |
| 1108 | binding.createInstance(inStream, *shapeData[idx], inObj, ownerPhysics, pvd); |
| 1109 | } |
| 1110 | |
| 1111 | static void releaseShapes(PvdMetaDataBinding& binding, PvdDataStream& inStream, const PxRigidActor& inObj) |
| 1112 | { |
no test coverage detected