RenderWare V2.1

Previous Page Index Next Page

Block <width> <height> <depth>

Description

Adds polygons representing a block of the given dimensions to the current clump under construction.

Arguments

width The width of the block.

height The height of the block.

depth The depth of the block.

Comments

The vertices of the block are transformed by the current transformation matrix (CTM). The current material is applied to the polygons of the block.

It is not legal to specify a block dimension of zero.

API Equivalent

RwBlock()