Function nannou::geom::bounding_cuboid[][src]

pub fn bounding_cuboid<I>(
    vertices: I
) -> Option<Cuboid<<<I as IntoIterator>::Item as Vertex>::Scalar>> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Vertex3d
Expand description

The Cuboid that bounds the given sequence of vertices.

Returns None if the given iterator is empty.