MCPcopy Create free account
hub / github.com/SpartanJ/eepp / ChangeDemo

Function ChangeDemo

src/examples/physics/physics.cpp:555–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553}
554
555void ChangeDemo( int num ) {
556 if ( num >= 0 && num < (int)mDemo.size() && num != mCurDemo ) {
557 if ( (int)eeINDEX_NOT_FOUND != mCurDemo )
558 mDemo[mCurDemo].destroy();
559
560 mCurDemo = num;
561
562 mDemo[mCurDemo].init();
563 }
564}
565
566void physicsCreate() {
567 // Initialize the physics engine

Callers 2

physicsCreateFunction · 0.85
mainLoopFunction · 0.85

Calls 3

sizeMethod · 0.45
destroyMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected