aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <weiss@jade.(none)>2008-08-14 17:12:23 +0100
committerThomas White <weiss@jade.(none)>2008-08-14 17:12:23 +0100
commitdb4e00bd8e3568eee1edfcfb2b90426275c11aac (patch)
tree0ae11fa84ec7f68615c04ee96f21e6bed7a97ff5
parentcb49aacee1dd0d9d4f09a59b10542b73769b9715 (diff)
Add (commented) mugwatch
-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;