//---------------------------------------------------------------------- public bool Contains( AABB _aabb ) { return ( Min.X <= _aabb.Min.X && Max.X >= _aabb.Max.X ) && ( Min.Y <= _aabb.Min.Y && Max.Y >= _aabb.Max.Y ); }
//---------------------------------------------------------------------- public bool Intersects( AABB _aabb ) { return ( ( Min.X <= _aabb.Max.X ) || ( Max.X >= _aabb.Min.X ) ) && ( ( Min.Y <= _aabb.Max.Y ) || ( Max.Y >= _aabb.Min.Y ) ); }