Function nannou::geom::bounding_rect

source ·
pub fn bounding_rect<I>(
    vertices: I
) -> Option<Rect<<<I as IntoIterator>::Item as Vertex>::Scalar>>
Expand description

The Rect that bounds the given sequence of vertices.

Returns None if the given iterator is empty.