00001 00002 #ifndef __PRIMTYPES_H_ 00003 #define __PRIMTYPES_H_ 00004 /* 00005 Peon - Win32 Games Programming Library 00006 Copyright (C) 2002-2005 Erik Yuzwa 00007 00008 This library is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU Library General Public 00010 License as published by the Free Software Foundation; either 00011 version 2 of the License, or (at your option) any later version. 00012 00013 This library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Library General Public License for more details. 00017 00018 You should have received a copy of the GNU Library General Public 00019 License along with this library; if not, write to the Free 00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 00022 Erik Yuzwa 00023 peon AT wazooinc DOT com 00024 */ 00025 00026 #include "Peonstdafx.h" 00027 00028 namespace peon 00029 { 00030 00035 struct PEONMAIN_API DiffusePrim 00036 { 00038 float x, y, z; 00039 00041 float r, g, b, a; 00042 }; 00043 00048 struct PEONMAIN_API DiffuseTexPrim 00049 { 00051 float x, y, z; 00052 00054 float r, g, b, a; 00055 00057 float tu, tv; 00058 }; 00059 00065 struct PEONMAIN_API NormalDiffuseTexPrim 00066 { 00068 float x, y, z; 00069 00071 float nx, ny, nz; 00072 00074 float r, g, b, a; 00075 00077 float tu, tv; 00078 00079 }; 00080 } 00081 00082 #endif 00083