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

Function point_in_box

native/shared/src/geometry.rs:232–236  ·  view source on GitHub ↗
(p: &[f32; 3], min: &[f32; 3], max: &[f32; 3])

Source from the content-addressed store, hash-verified

230}
231
232fn point_in_box(p: &[f32; 3], min: &[f32; 3], max: &[f32; 3]) -> bool {
233 p[0] >= min[0] && p[0] <= max[0]
234 && p[1] >= min[1] && p[1] <= max[1]
235 && p[2] >= min[2] && p[2] <= max[2]
236}

Callers 1

subtract_boxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected