Ejemplo n.º 1
0
        public override bool PointCollidesWithShape(System.Numerics.Vector2 point, out CollisionResult result)
        {
            if (IsUnrotated)
            {
                return(ShapeCollisions.PointToBox(point, this, out result));
            }

            return(base.PointCollidesWithShape(point, out result));
        }