RenderWare V2.1

Previous Page Index Next Page

RwBool

RwQuad(RwInt32 v1, RwInt32 v2, RwInt32 v3, RwInt32 v4);

Description

Adds a quadrilateral to the current clump under construction. The current material is assigned to the polygon.

Arguments

v1 Index of the first vertex of the polygon.

v2 Index of the second vertex of the polygon.

v3 Index of the third vertex of the polygon.

v4 Index of the fourth vertex of the polygon.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

This function is exactly equivalent to calling RwPolygon() with an array of four vertex indices.

This function can only be called within the context of an RwClumpBegin()RwClumpEnd() or RwProtoBegin()RwProtoEnd() block.

See Also

RwAddPolygonToClump()

RwPolygon()

RwPolygonExt()

RwQuadExt()

RwTriangle()

RwTriangleExt()

RwVertex()

RwVertexExt()