Function nannou::geom::tri::from_vertices[][src]

pub fn from_vertices<I>(vertices: I) -> Option<Tri<I::Item>> where
    I: IntoIterator

Create a Tri from the next three vertices yielded by the given vertices iterator.

Returns None if there were not at least 3 vertices in the given iterator.