MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bbox_center

Method bbox_center

tools/bloom-reference/src/main.rs:179–181  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

177
178impl Scene {
179 fn bbox_center(&self) -> Vec3 {
180 (self.bbox_min + self.bbox_max) * 0.5
181 }
182 fn bbox_radius(&self) -> f32 {
183 (self.bbox_max - self.bbox_min).length() * 0.5
184 }

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected