Sign in to follow this  

polygon / point collision test needed!!!

Recommended Posts

Hi, I am trying to solve polygon collision test, but I a have a problem to make it. I found normals but I confuse with plane distance formula. Can anyone help me???? There are the code of my vertex data: for(i=0; i<a->wld->num_faces; i++) { t[0]=a->wld->vertex[i]; t[1]=a->wld->vertex[i+1]; t[2]=a->wld->vertex[i+2]; calculate_normal(t[0],t[1],t[2],&normal.x,&normal.y,&normal.z); ...... ...... how do I do polygon/point intersection test ????? }

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this