aboutsummaryrefslogtreecommitdiff
path: root/src/shared/phys
diff options
context:
space:
mode:
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*)){