| 62 | } |
| 63 | |
| 64 | NpShape::~NpShape() |
| 65 | { |
| 66 | decMeshRefCount(); |
| 67 | |
| 68 | PxU32 nbMaterials = mShape.getNbMaterials(); |
| 69 | for (PxU32 i=0; i < nbMaterials; i++) |
| 70 | { |
| 71 | NpMaterial* mat = static_cast<NpMaterial*>(mShape.getMaterial(i)); |
| 72 | mat->decRefCount(); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | void NpShape::onRefCountZero() |
| 77 | { |
no test coverage detected