init(a, b);
}
- inline void init(const Vector2& a, const Vector2& b)
+ void init(const Vector2& a, const Vector2& b)
{
if (a[0] < b[0])
{
}
}
- inline Vector2 getCenter() const
+ Vector2 getCenter() const
{
return Vector2((min[0] + max[0]) / 2.0,
(min[1] + max[1]) / 2.0);