s3d_pep_polygon_tex_coord(3)

s3d_pep_polygon_tex_coord3

Add texture coordinates to polygon

Usage

#include <s3d.h>

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

Overview

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

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–13

Author

Simon Wunderlich

Author of s3d

From s3d-doc 0.2.2.1-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.