RenderWare V2.1

Previous Page Index Next Page

QuadExt <v1> <v2> <v3> <v4> [ Tag <tag> ]

Description

Creates a new quadrilateral 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 quadrilateral.

v2 The second vertex index of the quadrilateral.

v3 The third vertex index of the quadrilateral.

v4 The fourth vertex index of the quadrilateral.

tag An optional integer tag to assign to the quadrilateral.

Comments

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

The current material is applied to the new quadrilateral.

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

This keyword is semantically identical to PolygonExt 4 <v1> <v2> <v3> <v4> Tag <tag>

API Equivalent

RwQuadExt()