Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

geometry.h

00001 /***************************************************************************
00002                         geometry.h  -  description
00003                             -------------------
00004     begin                : july 30th, 2006
00005     copyright            : (C) 2006 by Fredreic RODRIGO
00006     email                : f.rodrigo free.fr
00007 
00008     $Id: map.h 20 2006-07-16 10:28:39Z neoneurone $
00009  ***************************************************************************/
00010 
00011 /***************************************************************************
00012  *                                                                         *
00013  *   This program is free software; you can redistribute it and/or modify  *
00014  *   it under the terms of the GNU General Public License as published by  *
00015  *   the Free Software Foundation; either version 2 of the License, or     *
00016  *   any later version.                                                    *
00017  *                                                                         *
00018  ***************************************************************************/
00019 
00020 #ifndef _OPENCITY_GEOMETRY_H_
00021 #define _OPENCITY_GEOMETRY_H_ 1
00022 
00023 namespace Triangulation
00024 {
00025 
00026 struct TexCoord
00027 {
00028     float fS, fT;
00029 };
00030 
00031 struct Vertex
00032 {
00033     float x, y, z;
00034     TexCoord texCoord;
00035 };
00036 
00037 struct Triangle
00038 {
00039     Vertex a, b, c;
00040 };
00041 
00042 }
00043 
00044 #endif

Generated on Sat Nov 11 10:21:09 2006 for OpenCity by  doxygen 1.4.2