00001 /* Copyright (C) 2001 W.P. van Paassen - peter@paassen.tmfweb.nl 00002 00003 This program is free software; you can redistribute it and/or modify it under 00004 the terms of the GNU General Public License as published by the Free 00005 Software Foundation; either version 2 of the License, or (at your 00006 option) any later version. 00007 00008 This program is distributed in the hope that it will be useful, but WITHOUT 00009 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00010 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00011 for more details. 00012 00013 You should have received a copy of the GNU General Public License 00014 along with this program; see the file COPYING. If not, write to the Free 00015 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 00016 00017 #ifndef WP_QUAD_H 00018 #define WP_QUAD_H 00019 00020 #include "WP_Def.h" 00021 #include "WP_Vector3D.h" 00022 #include "GL/gl.h" 00023 00024 namespace WPCG 00025 { 00026 //forward declarations 00027 class WP_Vertex; 00028 00047 class WP_Quad 00048 { 00049 public: 00050 WP_Quad(){}; 00051 virtual ~WP_Quad(){}; 00052 00056 WP_Vertex* vertices[4]; 00057 00061 WP_Vector3D normal; 00062 }; 00063 } 00064 #endif 00065 00066 00067