Quad


Usage

Quad <v1> <v2> <v3> <v4> [Tag <tag>]

Note: [] denotes optional arguments

Also note: the Quad and QuadExt commands are equivalent and may be used interchangeably

Description

This command creates a new quadrilateral (i.e. a four-sided polygon) and adds it to the current clump under construction. The quad can have an optional numeric tag assigned to it.

Vertices are identified by the order in which they were declared in the current clump. The first vertex in the clump is vertex 1. Thus, a quadrangle made of the first four vertices in the clump would be declared as:

Quad 1 2 3 4

Note that this is exactly identical to the command

Polygon 4 1 2 3 4

The quad can optionally be assigned a numeric tag. The tag serves to mark that polygon for identification by Outerworlds. The following tag values have special meaning in Outerworlds:

100 - Identifies the polygon as a target for the sign object action
200 - Identifies the polygon as a target for the picture object action

Arguments

<v1> <v2> <v3> <v4> specifies the indices of the quad's vertices

See Also

Polygon
Triangle
Vertex