DQBbttri
SUB

Prototype

DECLARE SUB DQBbttri (BYVAL Layer, BYVAL x1, BYVAL y1, BYVAL x2, BYVAL y2,
                      BYVAL x3, BYVAL y3, BYVAL u1, BYVAL v1, BYVAL u2,
                      BYVAL v2, BYVAL u3, BYVAL v3, BYVAL TextureSeg,
                      BYVAL TextureOff, BYVAL BMap)

Parameters

Layer - Layer where to draw the triangle

x1 - x coordinate of the first vertex

y1 - y coordinate of the first vertex

x2 - x coordinate of the second vertex

y2 - y coordinate of the second vertex

x3 - x coordinate of the third vertex

y3 - y coordinate of the third vertex

u1 - x coordinate of first vertex on texture

v1 - y coordinate of first vertex on texture

u1 - x coordinate of second vertex on texture

v1 - y coordinate of second vertex on texture

u1 - x coordinate of third vertex on texture

v1 - y coordinate of third vertex on texture

TextureSeg - Array segment holding the texture (use VARSEG)

TextureOff - Array offset holding the texture (use VARPTR)

BMap - Blender map to be used

Returns

none

Description

Draws a texture-mapped triangle with (x1,y1), (x2,y2) and (x3,y3) as vertexes. This function works exactly like DQBttri, but colors are blended with the background by using the specified blender map.

Notes:

See also DQBttri, DQBsetTextureSize, DQBtri, DQBbtri, DQBgtri