00001 //
00002 // Icosa.h
00003 //
00004 // Copyright (c) 2001 Virtual Terrain Project
00005 // Free for all uses, see license.txt for details.
00006 //
00007
00008 #ifndef ICOSAH
00009 #define ICOSAH
00010
00011 #include "MathTypes.h"
00012
00013 struct uvpoly {
00014 Array<FPoint2> uv;
00015 };
00016
00017 struct icoface {
00018 DPoint3 base;
00019 DPoint3 center;
00020 DPoint3 vec_a, vec_b, vec_c; // normalized basis vectors for face
00021
00022 DMatrix3 trans;
00023
00024 double d; // for plane equation
00025
00026 // map data
00027 Array<uvpoly *> m_poly;
00028 };
00029
00030 #endif
1.2.4 written by Dimitri van Heesch,
© 1997-2000