MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / OnIdle

Method OnIdle

GTE/Samples/Physics/BouncingBall/BouncingBallWindow3.cpp:47–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void BouncingBallWindow3::OnIdle()
48{
49#if !defined(BOUNCING_BALL_SINGLE_STEP)
50 PhysicsTick();
51#endif
52 if (mCameraRig.Move())
53 {
54 mPVWMatrices.Update();
55 }
56 GraphicsTick();
57}
58
59bool BouncingBallWindow3::OnCharPress(uint8_t key, int32_t x, int32_t y)
60{

Callers

nothing calls this directly

Calls 2

MoveMethod · 0.80
UpdateMethod · 0.45

Tested by

no test coverage detected