| 82 | /////////////////////////////////////////// |
| 83 | |
| 84 | bool32_t bounds_point_contains(bounds_t bounds, vec3 pt) { |
| 85 | pt = vec3_abs(pt - bounds.center) * 2; |
| 86 | return |
| 87 | pt.x <= bounds.dimensions.x && |
| 88 | pt.y <= bounds.dimensions.y && |
| 89 | pt.z <= bounds.dimensions.z; |
| 90 | } |
| 91 | |
| 92 | /////////////////////////////////////////// |
| 93 |
no test coverage detected