RenderWare V2.1

Previous Page Index Next Page

TriangleExt <v1> <v2> <v3> [ Tag <tag> ]

Description

Creates a new triangle with the given vertices and adds it to the current clump under construction. An integer tag may be specified in order to mark the polygon.

Arguments

v1 The first vertex index of the triangle.

v2 The second vertex index of the triangle.

v3 The third vertex index of the triangle.

tag An optional integer tag to assign to the triangle.

Comments

v1, v2 and v3 are indices into the vertex list of the current clump under construction.

The current material is applied to the new triangle.

The integer tag is optional. To specify a tag use the optional keyword modifier Tag followed by an integer.

API Equivalent

RwTriangleExt()