| 177 | #if defined(USE_GLFW) |
| 178 | |
| 179 | void keypressed(int key) override |
| 180 | { |
| 181 | if (key == 32 /* */) initializeClothPositions ((collide2::ClothModel &) (*meshes[clothID])); |
| 182 | if (key == 80 /*p*/) { pause = !pause; } |
| 183 | if (pause == true && key == 78 /*n*/) { updateScene (); } |
| 184 | else TutorialApplication::keypressed(key); |
| 185 | } |
| 186 | #endif |
| 187 | |
| 188 | }; |
nothing calls this directly
no test coverage detected