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

Function defaultDrawOptions

src/examples/physics/physics.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36Input* KM;
37
38void defaultDrawOptions() {
39 PhysicsManager::DrawSpaceOptions* DSO = PhysicsManager::instance()->getDrawOptions();
40 DSO->DrawBBs = false;
41 DSO->DrawShapes = true;
42 DSO->DrawShapesBorders = true;
43 DSO->CollisionPointSize = 4;
44 DSO->BodyPointSize = 0;
45 DSO->LineThickness = 1;
46}
47
48void destroyDemo() {
49 eeSAFE_DELETE( mMouseBody );

Callers 3

demo1CreateFunction · 0.85
demo2CreateFunction · 0.85
demo3CreateFunction · 0.85

Calls 1

getDrawOptionsMethod · 0.80

Tested by

no test coverage detected