CS::Geometry::TableTextureMapper Class Reference
Table texture mapper. More...
#include <cstool/primitives.h>
Inheritance diagram for CS::Geometry::TableTextureMapper:
Public Member Functions  
virtual csVector2  Map (const csVector3 &, const csVector3 &, size_t idx) 
Map a 3D coordinate and a triangle plane to 2D UV space. 
Detailed Description
Table texture mapper.
This one just maps based on a table and vertex index given at construction time.
Definition at line 66 of file primitives.h.
Member Function Documentation
virtual csVector2 CS::Geometry::TableTextureMapper::Map  (  const csVector3 &  point,  
const csVector3 &  normal,  
size_t  idx  
)  [inline, virtual] 
Map a 3D coordinate and a triangle plane to 2D UV space.
 Parameters:

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.
 Returns:
 the resulting uv mapping.
Implements CS::Geometry::TextureMapper.
Definition at line 74 of file primitives.h.
The documentation for this class was generated from the following file:
 cstool/primitives.h
Generated for Crystal Space 2.1 by doxygen 1.6.1