3.21. s3d_pep_tex_coord

#include <s3d.h>

int s3d_pep_tex_coord( int object, float x1, float y1, float x2, float y2, float x3, float y3 );

Pimp the last polygon pushed with some textures coordinates, x and y values for each vertex point respectively. Those values may be between 0 and 1 and are vertex points on the texture defined in the material of the polygon. If you have more polygons which should get a texture, use s3d_pep_tex_coords()