We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09fd6ce commit f3e34b7Copy full SHA for f3e34b7
src/geometry.rs
@@ -44,7 +44,7 @@ impl Geometry {
44
///
45
/// Computes the [AxisAlignedBoundingBox] for this geometry.
46
47
- pub fn compute_aabb(&mut self) -> AxisAlignedBoundingBox {
+ pub fn compute_aabb(&self) -> AxisAlignedBoundingBox {
48
match self {
49
Self::Triangles(mesh) => mesh.compute_aabb(),
50
Self::Points(point_cloud) => point_cloud.compute_aabb(),
0 commit comments