MCPcopy Create free account
hub / github.com/cinder/Cinder / setup

Method setup

samples/FallingGears/src/FallingGearsApp.cpp:60–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58};
59
60void FallingGearsApp::setup()
61{
62 mDrawDebug = false;
63 mDrawInfo = false;
64 mMasterGain = 84;
65
66 mAudio.setup();
67 mAudio.setMasterGain( mMasterGain );
68
69 mScene.setup( &mAudio );
70 mScene.getWorld()->SetDebugDraw( &mDebugDraw );
71
72 setupGraphics();
73
74 ImGui::Initialize();
75}
76
77void FallingGearsApp::setupGraphics()
78{

Callers

nothing calls this directly

Calls 3

setMasterGainMethod · 0.80
SetDebugDrawMethod · 0.80
getWorldMethod · 0.80

Tested by

no test coverage detected