re_renderer 0.37.0

A wgpu based renderer for all your visualization needs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Like [`macaw::BoundingBox::from_points`], but ignores NaN and infinity values.
pub fn bounding_box_from_points(
    points: impl ExactSizeIterator<Item = glam::Vec3>,
) -> macaw::BoundingBox {
    re_tracing::profile_function_if!(10_000 < points.len());

    let mut bbox = macaw::BoundingBox::nothing();
    for p in points {
        if p.is_finite() {
            bbox.extend(p);
        }
    }
    bbox
}