| 101 | } |
| 102 | |
| 103 | template<typename T> __forceinline const Vec2<Interval<T>> intersect( const Vec2<Interval<T>>& a, const Vec2<Interval<T>>& b ) { |
| 104 | return Vec2<Interval<T>>(intersect(a.x,b.x),intersect(a.y,b.y)); |
| 105 | } |
| 106 | |
| 107 | //////////////////////////////////////////////////////////////////////////////// |
| 108 | /// Select |