| 261 | |
| 262 | template<typename T> |
| 263 | bool RectT<T>::intersects( const RectT<T> &rect ) const |
| 264 | { |
| 265 | if( ( x1 > rect.x2 ) || ( x2 < rect.x1 ) || ( y1 > rect.y2 ) || ( y2 < rect.y1 ) ) |
| 266 | return false; |
| 267 | else |
| 268 | return true; |
| 269 | } |
| 270 | |
| 271 | template<typename T> |
| 272 | T RectT<T>::distance( const Vec2T &pt ) const |
no outgoing calls