| 248 | } |
| 249 | |
| 250 | void SampleCustomGravity::onShutdown() |
| 251 | { |
| 252 | { |
| 253 | PxSceneWriteLock scopedLock(*mScene); |
| 254 | DELETESINGLE(mCCTCamera); |
| 255 | mControllerManager->release(); |
| 256 | mPlatformManager.release(); |
| 257 | } |
| 258 | PhysXSample::onShutdown(); |
| 259 | } |
| 260 | |
| 261 | void SampleCustomGravity::helpRender(PxU32 x, PxU32 y, PxU8 textAlpha) |
| 262 | { |