Al's Programming Resource Homepage  Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

polygon.h

Go to the documentation of this file.
00001 // Polygon Class    by Alan Baylis 2001
00002 
00003 #ifndef PolygonH
00004 #define PolygonH
00005 
00006 #include "general.h"
00007 #include "vertex.h"
00008 #include "texture.h"
00009 #include "vector.h"
00010 
00011 class CAMERA;
00012 
00013 class POLYGON
00014 {
00015     public:
00016         POLYGON();
00017           ~POLYGON();
00018 
00019                 VECTOR GetNormal();
00020                 void SetNormal();
00021                 VECTOR GetMidPoint();
00022                 bool CheckForCollision(CAMERA* pLastCam, CAMERA* pCam);
00023 
00024           TEXTURE Texture;
00025           VERTEX Vertex[3];
00026 };
00027 
00028 #endif

Generated on Fri Dec 23 05:19:34 2005 for OpenGL MDI 2 by doxygen1.2.15