From db4e00bd8e3568eee1edfcfb2b90426275c11aac Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 14 Aug 2008 17:12:23 +0100 Subject: Add (commented) mugwatch --- src/physics.c | 4 ++++ 1 file changed, 4 insertions(+) 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; imodel->num_coll_primitives; i++ ) { int j; -- cgit v1.2.3