Module nannou::geom::tri

source ·

Structs

  • Converts an iterator yielding [usize; 3] into an iterator yielding usizes.
  • An iterator yielding triangles whose vertices are produced by the given iterator yielding vertices.
  • A triangle as three vertices.
  • An iterator yielding each of the vertices of the triangle.
  • An iterator that flattens an iterator yielding triangles into its vertices.

Constants

Functions

  • Given an iterator yielding trios of indices, produce an iterator that yields each index one at a time.
  • Create a Tri by indexing into the given buffer.
  • Create a Tri from the next three vertices yielded by the given vertices iterator.
  • Returns the first Tri that contains the given vertex.
  • Produce an iterator yielding a triangle for every three vertices yielded by the given vertices iterator.
  • Produce an iterator that flattens the given iterator yielding triangles into its vertices.