00001 00006 // Written by Curtis Olson, started March 1999. 00007 // 00008 // Copyright (C) 1999 Curtis L. Olson - http://www.flightgear.org/~curt 00009 // 00010 // This library is free software; you can redistribute it and/or 00011 // modify it under the terms of the GNU Library General Public 00012 // License as published by the Free Software Foundation; either 00013 // version 2 of the License, or (at your option) any later version. 00014 // 00015 // This library is distributed in the hope that it will be useful, 00016 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 // Library General Public License for more details. 00019 // 00020 // You should have received a copy of the GNU General Public License 00021 // along with this program; if not, write to the Free Software 00022 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00023 // 00024 // $Id: texcoord_8hxx_source.html,v 1.3 2010/02/23 22:10:17 curt Exp $ 00025 00026 00027 #ifndef _TEXCOORD_HXX 00028 #define _TEXCOORD_HXX 00029 00030 00031 #ifndef __cplusplus 00032 # error This library requires C++ 00033 #endif 00034 00035 00036 #include <simgear/bucket/newbucket.hxx> 00037 #include <simgear/math/sg_types.hxx> 00038 00039 00049 point_list sgCalcTexCoords( const SGBucket& b, const point_list& geod_nodes, 00050 const int_list& fan, double scale = 1.0 ); 00051 00052 point_list sgCalcTexCoords( double centerLat, const point_list& geod_nodes, 00053 const int_list& fan, double scale = 1.0 ); 00054 00055 00056 #endif // _TEXCOORD_HXX