| 74 | /////////////////////////////////////////////////////////////////////////////// |
| 75 | |
| 76 | static PX_FORCE_INLINE bool removeFromSceneCheck(NpScene* npScene, PxScene* scene, const char* name) |
| 77 | { |
| 78 | if (scene == static_cast<PxScene*>(npScene)) |
| 79 | { |
| 80 | return true; |
| 81 | } |
| 82 | else |
| 83 | { |
| 84 | Ps::getFoundation().error(PxErrorCode::eINVALID_OPERATION, __FILE__, __LINE__, "%s not assigned to scene or assigned to another scene. Call will be ignored!", name); |
| 85 | return false; |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | /////////////////////////////////////////////////////////////////////////////// |
| 90 |
no test coverage detected