MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / deleteDemo

Function deleteDemo

examples/ExampleBrowser/OpenGLExampleBrowser.cpp:157–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155//unsigned int fp_control_state = _controlfp(_EM_INEXACT, _MCW_EM);
156
157void deleteDemo()
158{
159 if (sCurrentDemo)
160 {
161 sCurrentDemo->exitPhysics();
162 s_instancingRenderer->removeAllInstances();
163 delete sCurrentDemo;
164 sCurrentDemo = 0;
165 delete s_guiHelper;
166 s_guiHelper = 0;
167
168 // CProfileManager::CleanupMemory();
169 }
170}
171
172const char* gPngFileName = 0;
173int gPngSkipFrames = 0;

Callers 3

openFileDemoFunction · 0.85
selectDemoFunction · 0.85
~OpenGLExampleBrowserMethod · 0.85

Calls 2

exitPhysicsMethod · 0.45
removeAllInstancesMethod · 0.45

Tested by

no test coverage detected