aboutsummaryrefslogtreecommitdiff
path: root/src/physics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/physics.c')
-rw-r--r--src/physics.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/physics.c b/src/physics.c
index 7867fd1..38f41b6 100644
--- a/src/physics.c
+++ b/src/physics.c
@@ -201,6 +201,10 @@ static int physics_check_collide(ModelInstance *obj, ModelInstance *other, doubl
int i;
int found = 0;
+ if ( strcmp("pipe", other->model->name) == 0 ) {
+ // printf("pipe prim 0 has %i vertices\n", other->model->primitives[0]->num_vertices);
+ // printf("pipe cprim 0 has %i vertices\n", other->model->coll_primitives[0]->num_vertices);
+ }
/* Check all the vertices in the moving object... */
for ( i=0; i<obj->model->num_coll_primitives; i++ ) {
int j;