Function nannou::geom::bounding_cuboid [−][src]
pub fn bounding_cuboid<I>(
vertices: I
) -> Option<Cuboid<<I::Item as Vertex>::Scalar>> where
I: IntoIterator,
I::Item: Vertex3d,
The Cuboid
that bounds the given sequence of vertices.
Returns None
if the given iterator is empty.