CPlane.h
00001 00007 #ifndef __CPLANE_H__ 00008 #define __CPLANE_H__ 00009 00010 #include "CObject.h" 00011 00012 class CPlane : public CObject 00013 { 00014 private: 00015 CVector3D mNormal; 00016 CVector3D mPointPlane; 00017 00018 public: 00019 CPlane() {} 00020 CPlane(const CVector3D& pointplane, const CVector3D& normal); 00021 CPlane(const CVector3D& point1, const CVector3D& point2, const CVector3D& point3); 00022 virtual ~CPlane() {} 00023 00024 // [CNode inherited] 00025 bool IntersectsNode(const CRay& ray, CIntersectInfo *intersectInfo=NULL); 00026 }; 00027 00028 #endif /* #ifndef __CPLANE_H__ */
Generated on Fri Apr 19 16:19:34 2002 by 1.2.15