inline int getOverlapX(const AABB& mA, const AABB& mB) noexcept { return mA.getLeft() < mB.getLeft() ? mA.getRight() - mB.getLeft() : mB.getRight() - mA.getLeft(); }
inline int getMinIntersectionX(const AABB& mA, const AABB& mB) noexcept { return getMinAbs( mB.getLeft() - mA.getRight(), mB.getRight() - mA.getLeft()); }