00001 // Plane Class by Alan Baylis 2001 00002 00003 #ifndef PlaneH 00004 #define PlaneH 00005 00006 #include "vector.h" 00007 00008 class PLANE 00009 { 00010 public: 00011 PLANE(); 00012 ~PLANE(); 00013 00014 VECTOR normal; 00015 float Distance; 00016 }; 00017 00018 VECTOR GetEdgeIntersection(VECTOR point0, VECTOR point1, PLANE plane, VECTOR pointOnPlane); 00019 00020 #endif