logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

s3d_pep_polygon_tex_coord - add texture coordinates to polygon

Author

SimonWunderlich
           Author of s3d

s3d                                                                                      S3D_PEP_POLYGON_TEX_(3)

Description

       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_polygon_tex_coords()

Name

       s3d_pep_polygon_tex_coord - add texture coordinates to polygon

Synopsis

#include<s3d.h>ints3d_pep_polygon_tex_coord(intobject,floatx1,floaty1,floatx2,floaty2,floatx3,floaty3);

See Also