CS::Geometry::TextureMapper Struct Reference
Class for controlling texture mapping on the generated meshes. More...
Public Member Functions
|virtual csVector2||Map (const csVector3 &point, const csVector3 &normal, size_t idx)=0|
|Map a 3D coordinate and a triangle plane to 2D UV space. |
Class for controlling texture mapping on the generated meshes.
Implement this class and pass it to one of the csPrimitives functions to create a mesh with specific texture mapping requirements.
Member Function Documentation
|virtual csVector2 CS::Geometry::TextureMapper::Map||(||const csVector3 &||point,|
|const csVector3 &||normal,|
Map a 3D coordinate and a triangle plane to 2D UV space.
point is the point in 3D space. normal is the normal of the point that we're mapping. idx is the index in the model.
- the resulting uv mapping.
The documentation for this struct was generated from the following file:
Generated for Crystal Space 2.0 by doxygen 1.6.1