Module nannou::prelude::geom::quad [−][src]
Structs
A quad represented by its four vertices.
An Iterator
yielding the two triangles that make up a quad.
A simple iterator yielding each vertex in a Quad
.
Constants
The number of triangles that make up a quad.
The number of indices used to describe each triangle in the quad.
The number of vertices in a quad.
The same as triangles
, but instead returns the vertex indices for each triangle.
The same as triangles
, but instead returns the vertex indices for each triangle.
Functions
Produce the centroid of the quad, aka the “mean”/“average” vertex.
Triangulates the given quad, represented by four points that describe its edges in either clockwise or anti-clockwise order.
The same as triangles
but provided as an Iterator
.
Produce an iterator yielding each vertex in the given Quad.