Routine to handle texture coordinate generation. More...
#include <simgear/bucket/newbucket.hxx>#include <simgear/math/sg_types.hxx>Go to the source code of this file.
Functions | |
| point_list | sgCalcTexCoords (const SGBucket &b, const point_list &geod_nodes, const int_list &fan, double scale=1.0) |
| Traverse the specified fan/strip/list of vertices and attempt to calculate "none stretching" texture coordinates. | |
Routine to handle texture coordinate generation.
Definition in file texcoord.hxx.
| point_list sgCalcTexCoords | ( | const SGBucket & | b, | |
| const point_list & | geod_nodes, | |||
| const int_list & | fan, | |||
| double | scale = 1.0 | |||
| ) |
Traverse the specified fan/strip/list of vertices and attempt to calculate "none stretching" texture coordinates.
| b | the bucket containing the structure | |
| geod_nodes | vertices in geodetic coordinates | |
| fan | integer list of indices pointing into the vertex list | |
| scale | (default = 1.0) scaling factor |
Definition at line 178 of file texcoord.cxx.
1.6.1