| 113 | } |
| 114 | |
| 115 | void SampleHelloWorld::onInit() |
| 116 | { |
| 117 | if(getConsole()) |
| 118 | { |
| 119 | getConsole()->addCmd("value", gValue); |
| 120 | getConsole()->addCmd("export", gExport); |
| 121 | getConsole()->addCmd("import", gImport); |
| 122 | } |
| 123 | |
| 124 | PhysXSample::onInit(); |
| 125 | |
| 126 | mApplication.setMouseCursorHiding(true); |
| 127 | mApplication.setMouseCursorRecentering(true); |
| 128 | mCameraController.init(PxVec3(0.0f, 10.0f, 0.0f), PxVec3(0.0f, 0.0f, 0.0f)); |
| 129 | mCameraController.setMouseSensitivity(0.5f); |
| 130 | } |
| 131 | |
| 132 | void SampleHelloWorld::collectInputEvents(std::vector<const SampleFramework::InputEvent*>& inputEvents) |
| 133 | { |
nothing calls this directly
no test coverage detected