aboutsummaryrefslogtreecommitdiff
path: root/src/shared/phys
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-06-23 06:52:55 -0600
committerAlexander Pickering <alex@cogarr.net>2018-06-23 06:52:55 -0600
commite6faff1394864a1fe0d517584d1c104997dff39f (patch)
treed7956fc8aabef903f354578d69d4d7fdf64ec928 /src/shared/phys
parent1aaa348ac080c97c0aeb0a02146ae26b74add5a1 (diff)
parent9fa5dcc9310a8c6ff8c77a47a86303f7b950dcf3 (diff)
downloadbrokengine-e6faff1394864a1fe0d517584d1c104997dff39f.tar.gz
brokengine-e6faff1394864a1fe0d517584d1c104997dff39f.tar.bz2
brokengine-e6faff1394864a1fe0d517584d1c104997dff39f.zip
Merge branch 'master' of ssh://cogarr.net:43/home/git/brokengine
Diffstat (limited to 'src/shared/phys')
-rw-r--r--src/shared/phys/physcommon.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/phys/physcommon.cpp b/src/shared/phys/physcommon.cpp
index 4f506bb..b1c4c67 100644
--- a/src/shared/phys/physcommon.cpp
+++ b/src/shared/phys/physcommon.cpp
@@ -33,17 +33,17 @@ btSequentialImpulseConstraintSolver* Solver;
void phys_genesis(){
BroadPhase = new btAxisSweep3(btVector3(-1000,-1000,-1000),btVector3(1000,1000,1000));
- printf("Broadphase\n");
+ //printf("Broadphase\n");
CollisionConfiguration = new btDefaultCollisionConfiguration();
- printf("Collision config\n");
+ //printf("Collision config\n");
Dispatcher = new btCollisionDispatcher(CollisionConfiguration);
- printf("Dispatcher\n");
+ //printf("Dispatcher\n");
Solver = new btSequentialImpulseConstraintSolver();
- printf("Solver\n");
+ //printf("Solver\n");
World = new btDiscreteDynamicsWorld(Dispatcher, BroadPhase, Solver, CollisionConfiguration);
- printf("Physics world init ok.\n");
+ //printf("Physics world init ok.\n");
World->setGravity(btVector3(0,-10,0));
- printf("Created physics world: %p\n",World);
+ //printf("Created physics world: %p\n",World);
}
void phys_shutdown(void(*f)(btRigidBody*)){