RenderWare V2.1

Previous Page Index Next Page

Triangle <v1> <v2> <v3>

Description

Creates a new triangle with the given vertices and adds it to the current clump under construction.

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.

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.

Triangle is a synonym of TriangleExt. The integer tag may also be specified when using the Triangle keyword.

API Equivalent

RwTriangle()