NAME
DtShapeGetTextureVertex - Get a texture vertex for the given
shape and texture vertex index.
SYNOPSIS
#include <Dt.h>
int DtShapeGetTextureVertex( int shapeID, int index, DtVec2f *vertex )
DESCRIPTION
DtShapeGetTextureVertex() returns a texture vertex for the
shape indicated by the given shapeID and index. The texture
vertex is returned via the pointer to the vertex parameter.
C programmers can access the components of the texture
vertex vector as though it were a simple structure as
follows:
typedef struct DtVec2f { float vec[2];};
DtVec2f tVert;
u = tVert.vec[0];
v = tVert.vec[1];
DIAGNOSTICS
DtShapeGetTextureVertex() returns one on success and zero on
failure.
FILES
Link with -lDtOMio