MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / TestbedApplication

Method TestbedApplication

testbed/src/TestbedApplication.cpp:79–92  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

77
78// Constructor
79TestbedApplication::TestbedApplication()
80 : mIsInitialized(false), mGui(this), mCurrentScene(nullptr),
81 mDefaultEngineSettings(EngineSettings::defaultSettings()),
82 mFPS(0), mNbFrames(0), mPreviousTime(0),
83 mLastTimeComputedFPS(0), mFrameTime(0), mTotalPhysicsTime(0), mPhysicsStepTime(0),
84 mSinglePhysicsStepEnabled(false), mSinglePhysicsStepDone(false),
85 mWindowToFramebufferRatio(Vector2(1, 1)), mIsShadowMappingEnabled(true),
86 mAreContactPointsDisplayed(false), mAreContactNormalsDisplayed(false),
87 mAreBroadPhaseAABBsDisplayed(false), mAreCollidersAABBsDisplayed(false),
88 mAreCollisionShapesDisplayed(false), mAreCollisionShapesNormalsDisplayed(false),
89 mAreObjectsWireframeEnabled(false), mIsVSyncEnabled(false), mIsDebugRendererEnabled(false) {
90
91 init();
92}
93
94// Destructor
95TestbedApplication::~TestbedApplication() {

Callers

nothing calls this directly

Calls 1

Vector2Class · 0.50

Tested by

no test coverage detected