RenderWare V2.1

Previous Page Index Next Page

RwBool

RwQuadExt(RwInt32 v1, RwInt32 v2, RwInt32 v3, RwInt32 v4,
RwInt32 tag);

Description

Adds a quadrilateral with the given integer tag 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.

tag Integer tag to set (only the least significant 16 bits of the tag are valid).

Return Value

TRUE if successful, and FALSE otherwise.

Comments

This function is exactly equivalent to calling RwPolygonExt() 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()

RwFindTaggedPolygon()

RwGetPolygonTag()

RwPolygon()

RwPolygonExt()

RwQuad()

RwSetPolygonTag()

RwSetTag()

RwTriangle()

RwTriangleExt()

RwVertex()

RwVertexExt()