Glare.Box2f.Overlaps C# (CSharp) Method

Overlaps() public method

Get whether this Box2f inclusively intersects with the Vector2f.
public Overlaps ( Vector2f point ) : bool
point Vector2f
return bool
        public bool Overlaps( Vector2f point)
        {
            return  point.X >= Min.X && point.X <= Max.X && point.Y >= Min.Y && point.Y <= Max.Y ;
        }