| 151 | XYZM max; |
| 152 | |
| 153 | private: |
| 154 | // This works for XY, XYZ, and XYZM |
| 155 | template <typename Coord> |
| 156 | void UpdateInternal(Coord coord) { |
| 157 | for (size_t i = 0; i < coord.size(); i++) { |
| 158 | min[i] = std::min(min[i], coord[i]); |
| 159 | max[i] = std::max(max[i], coord[i]); |
| 160 | } |
| 161 | } |
| 162 | }; |
| 163 | |
| 164 | inline bool operator==(const BoundingBox& lhs, const BoundingBox& rhs) { |
no test coverage detected