diff options
author | Thomas White <weiss@jade.(none)> | 2008-08-14 17:12:23 +0100 |
---|---|---|
committer | Thomas White <weiss@jade.(none)> | 2008-08-14 17:12:23 +0100 |
commit | db4e00bd8e3568eee1edfcfb2b90426275c11aac (patch) | |
tree | 0ae11fa84ec7f68615c04ee96f21e6bed7a97ff5 /src | |
parent | cb49aacee1dd0d9d4f09a59b10542b73769b9715 (diff) |
Add (commented) mugwatch
Diffstat (limited to 'src')
-rw-r--r-- | src/physics.c | 4 |
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; |