cosmic::widget::canvas::path::lyon_path::geom::euclid

Function box3d

source
pub fn box3d<T, U>(
    min_x: T,
    min_y: T,
    min_z: T,
    max_x: T,
    max_y: T,
    max_z: T,
) -> Box3D<T, U>
where T: Copy,
Expand description

Shorthand for Box3D::new(Point3D::new(x1, y1, z1), Point3D::new(x2, y2, z2)).