setTexPos

HC Graphics Texturing setTexPos
setTexXY enableTexture

setTexPos xylist


sets the OpenGL texture coordinates to [x y]. x and y should be in the range of 0..1 for displaying only one occurence of the texture. If the values are greater the texture is repeated.

This primitive is useful with PolyStart..PolyEnd and TessStart..TessEnd.

Examples:

setTexPos [0.2 0.9]
x=0.2 y=0.9
setTexPos list x y

Reference:

setTexXY enableTexture