RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwVertex(RwReal x, RwReal y, RwReal z);

Description

Adds a vertex, transformed by the CTM, to the current clump under construction.

Arguments

x X coordinate of the vertex.

y Y coordinate of the vertex.

z Z coordinate of the vertex.

Return Value

The index of the new vertex if successful, and 0 otherwise.

Comments

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

See Also

RwAddVertexToClump()

RwClumpBegin()

RwClumpEnd()

RwPolygon()

RwPolygonExt()

RwProtoBegin()

RwProtoEnd()

RwQuad()

RwQuadExt()

RwTriangle()

RwTriangleExt()

RwVertexExt()