Main Index : Reference :

Polygon


Description

A Polygon structure.

Definition

struct Polygon
{
  var a, b, c, d;
}

Explanation

The variables a, b, c and d refer to point indexes. Triangles are defined by making d the same as c.