Debian Codegraph @

src/triangulation/geometry.h

raw symbols SCIP
1 /***************************************************************************
2 geometry.h - description
3 -------------------
4 begin : july 30th, 2006
5 copyright : (C) 2006 by Fredreic RODRIGO
6 email : f.rodrigo free.fr
7
8 $Id: geometry.h 373 2008-10-11 21:32:54Z neoneurone $
9 ***************************************************************************/
10
11 /***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * any later version. *
17 * *
18 ***************************************************************************/
19
20 #ifndef _OPENCITY_GEOMETRY_H_
21 #define _OPENCITY_GEOMETRY_H_ 1
22
23 namespace Triangulation
24 {
25
26 struct TexCoord
27 {
28 float fS, fT;
29 };
30
31 struct Vertex
32 {
33 float x, y, z;
34 TexCoord texCoord;
35 };
36
37 struct Triangle
38 {
39 Vertex a, b, c;
40 };
41
42 }
43
44 #endif