History

Merge pull request #12960 from hyperlogic/feature/bullet-debug-draw

Added items to the developer menu for debugging physics

John Conklin II committed 8 years ago

Commit f43b9ee2 parents 7d19586 4fa9af59 files · +195 −6Browse files

Showing the changes to interface/src/Application.cpp (1 of 9 files). Show all

Unified · Split

interface/src/Application.cpp+20−0
@@ -7867,6 +7867,26 @@ void Application::switchDisplayMode() { · 7866 unmodified lines
7867 _previousHMDWornStatus = currentHMDWornStatus;7867 _previousHMDWornStatus = currentHMDWornStatus;
7868}7868}
7869 7869
7870void Application::setShowBulletWireframe(bool value) {
7871 _physicsEngine->setShowBulletWireframe(value);
7872}
7873
7874void Application::setShowBulletAABBs(bool value) {
7875 _physicsEngine->setShowBulletAABBs(value);
7876}
7877
7878void Application::setShowBulletContactPoints(bool value) {
7879 _physicsEngine->setShowBulletContactPoints(value);
7880}
7881
7882void Application::setShowBulletConstraints(bool value) {
7883 _physicsEngine->setShowBulletConstraints(value);
7884}
7885
7886void Application::setShowBulletConstraintLimits(bool value) {
7887 _physicsEngine->setShowBulletConstraintLimits(value);
7888}
7889
7870void Application::startHMDStandBySession() {7890void Application::startHMDStandBySession() {
7871 _autoSwitchDisplayModeSupportedHMDPlugin->startStandBySession();7891 _autoSwitchDisplayModeSupportedHMDPlugin->startStandBySession();
7872}7892}