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

Method removeAllVisualContactPoints

testbed/src/SceneDemo.cpp:618–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616}
617
618void SceneDemo::removeAllVisualContactPoints() {
619
620 // Destroy all the visual contact points
621 for (std::vector<VisualContactPoint*>::iterator it = mVisualContactPoints.begin();
622 it != mVisualContactPoints.end(); ++it) {
623 delete (*it);
624 }
625 mVisualContactPoints.clear();
626}
627
628// Called when the user is moving a body with the mouse
629void SceneDemo::moveBodyWithMouse(double mousePosX, double mousePosY) {

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected