collision.h

Go to the documentation of this file.
00001 #ifndef _ANTI_COLLISION_
00002 #define _ANTI_COLLISION_
00003 
00004 #include "antistd.h"
00005 
00006 typedef struct aeAABBTreeNode
00007 {
00008         vec3 mins;
00009         vec3 maxs;
00010         struct aeAABBTreeNode* ch[2];
00011 } aeAABBTreeNode;
00012 
00013 int aeAABBTreeNodeCollision(aeAABBTreeNode*,aeAABBTreeNode*);
00014 
00015 // objects: triangle, ray, polygon, plane
00016 // cube cylinder sphere
00017 
00018 int aeLinePlaneIntersection(vec3,vec3,plane,vec3);
00019 int aeLineTriIntersection(vec3,vec3,vec3,vec3,vec3,vec3);
00020 int aeLinePolyIntersection(vec3,vec3,vec3*,uint,vec3);
00021 int aeLineSegPlaneIntersection(vec3,vec3,plane,vec3);
00022 int aeLineSegTriIntersection(vec3,vec3,vec3,vec3,vec3,vec3);
00023 int aeLineSegPolyIntersection(vec3,vec3,vec3*,uint,vec3);
00024 int aeSpherePlaneIntersection(vec3,float,plane,vec3);
00025 
00026 #endif

Generated on Fri Jun 1 09:08:53 2007 for Antigone by  doxygen 1.4.7