X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmisc%2Ftexcoord.hxx;h=20537922b47fa0229f919532075196e159c961d5;hb=e4e31be7d43569a92a5d9fa7e784381b66cbd95a;hp=127c0c1e2b93abb84da1e769dd6cea8cb7e2ee08;hpb=dcb95d131bc6aef1abe25d1f415e309f06e52436;p=simgear.git diff --git a/simgear/misc/texcoord.hxx b/simgear/misc/texcoord.hxx index 127c0c1e..20537922 100644 --- a/simgear/misc/texcoord.hxx +++ b/simgear/misc/texcoord.hxx @@ -36,6 +36,9 @@ #include #include +#include +#include +#include /** * Traverse the specified fan/strip/list of vertices and attempt to @@ -46,7 +49,10 @@ * @param scale (default = 1.0) scaling factor * @return list of texture coordinates */ -point_list sgCalcTexCoords( const SGBucket& b, const point_list& geod_nodes, +std::vector sgCalcTexCoords( const SGBucket& b, const std::vector& geod_nodes, + const int_list& fan, double scale = 1.0 ); + +std::vector sgCalcTexCoords( double centerLat, const std::vector& geod_nodes, const int_list& fan, double scale = 1.0 );