FlatRedBall.Math.Geometry.Polygon.IsPointInside
Introduction The IsPointInside method returns whether an absolute X/Y position is inside the calling Polygon. This function takes 3D position objects (such as Vector3) but ignores the Z value. Only X and Y are considered. Code Example The following code creates a Polygon that is in the shape of a rectangle. When the user moves[…]