Glare.Box2.Overlaps C# (CSharp) Method

Overlaps() public method

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