NAME
DtGroupGetTextureVertex - Get a texture vertex for the given
group and texture vertex index.
SYNOPSIS
#include <Dt.h>
int DtGroupGetTextureVertex( int shapeID, int groupID, int index, DtVec2f *vertex )
DESCRIPTION
DtGroupGetTextureVertex() returns a texture vertex for the
group indicated by the given shapeID, groupID 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
DtGroupGetTextureVertex() returns one on success and zero on
failure.
FILES
Link with -lDtOMio