| 191 | } |
| 192 | |
| 193 | void NpShape::release() |
| 194 | { |
| 195 | PX_CHECK_AND_RETURN(getRefCount() > 1 || getActorCount() == 0, "PxShape::release: last reference to a shape released while still attached to an actor!"); |
| 196 | NP_WRITE_CHECK(getOwnerScene()); |
| 197 | releaseInternal(); |
| 198 | } |
| 199 | |
| 200 | void NpShape::releaseInternal() |
| 201 | { |
no test coverage detected