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

Method bbox_radius

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

Source from the content-addressed store, hash-verified

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 }
185
186 /// Sample a texture with clamp-to-edge wrapping and bilinear
187 /// filtering. Converts sRGB-encoded base-color data back to linear

Callers 1

mainFunction · 0.80

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected