public override bool ContainsPoint(Vector2 point) { return(TriangleMath.Contains2DPoint(point, GetPoint(EqTrianglePoint.Left), GetPoint(EqTrianglePoint.Top), GetPoint(EqTrianglePoint.Right), _epsilon)); }
public override bool ContainsPoint(Vector2 point) { return(TriangleMath.Contains2DPoint(point, BaseLeft, Tip, BaseRight)); }
public override bool ContainsPoint(Vector2 point) { var points = GetPoints(); return(TriangleMath.Contains2DPoint(point, points[0], points[1], points[2], _epsilon)); }