RenderWare V2.1

Previous Page Index Next Page

Quad <v1> <v2> <v3> <v4>

Description

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

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.

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.

Quad is a synonym of QuadExt. The optional integer tag may also be specified when using the Quad keyword.

This keyword is semantically identical to Polygon 4 <v1> <v2> <v3> <v4>

API Equivalent

RwQuad()