[−][src]Module nannou::geom::quad
Structs
Quad | A quad represented by its four vertices. |
Triangles | An |
Vertices | A simple iterator yielding each vertex in a |
Constants
NUM_TRIANGLES | The number of triangles that make up a quad. |
NUM_TRIANGLE_INDICES | The number of indices used to describe each triangle in the quad. |
NUM_VERTICES | The number of vertices in a quad. |
TRIANGLE_INDEX_TRIS | The same as |
TRIANGLE_INDICES | The same as |
Functions
centroid | Produce the centroid of the quad, aka the "mean"/"average" vertex. |
triangles | Triangulates the given quad, represented by four points that describe its edges in either clockwise or anti-clockwise order. |
triangles_iter | The same as |
vertices | Produce an iterator yielding each vertex in the given Quad. |
Type Definitions
TrianglesIndexTris |