/afs/csl.tjhsst.edu/students/2007/kkassing/work/libmala/plane.h

Go to the documentation of this file.
00001 #ifndef _PLANE_H_
00002 #define _PLANE_H_
00003 
00004 #include "vector.h"
00005 
00006 typedef vec_t plane[4];
00007 
00008 inline void plane_normal(plane,vec3);
00009 inline float plane_dist(plane);
00010 inline void plane_frompoints(plane,vec3,vec3,vec3);
00011 inline float plane_vecdist(plane,vec3);
00012 inline float plane_vecsdist(plane,vec3);
00013 inline float plane_planedist(plane,plane); // nan if not parallel
00014 inline int plane_parallel(plane,plane);
00015 inline int plane_lineintersect(plane,vec3,vec3,vec3);
00016 
00017 #endif

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