public bool Contains(AABB aabb)
{
/*
* boolean result = true; result = result && lowerBound.x <= aabb.lowerBound.x; result = result
* && lowerBound.y <= aabb.lowerBound.y; result = result && aabb.upperBound.x <= upperBound.x;
* result = result && aabb.upperBound.y <= upperBound.y; return result;
*/
// djm: faster putting all of them together, as if one is false we leave the logic
// early
return LowerBound.X > aabb.LowerBound.X && LowerBound.Y > aabb.LowerBound.Y && aabb.UpperBound.X > UpperBound.X && aabb.UpperBound.Y > UpperBound.Y;
}