| 61 | } |
| 62 | |
| 63 | Rectangle Rectangle::computeUnion(const Rectangle& other) const noexcept { |
| 64 | return Rectangle( |
| 65 | glm::min(this->minimumX, other.minimumX), |
| 66 | glm::min(this->minimumY, other.minimumY), |
| 67 | glm::max(this->maximumX, other.maximumX), |
| 68 | glm::max(this->maximumY, other.maximumY)); |
| 69 | } |
| 70 | |
| 71 | } // namespace CesiumGeometry |
no test coverage detected