Module nannou::prelude::geom::quad

source ·

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

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.

Type Aliases