![]() |
Public API Reference |
![]() |
Table texture mapper. More...
#include <cstool/primitives.h>
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. |
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.
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.
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. |
Implements CS::Geometry::TextureMapper.
Definition at line 74 of file primitives.h.