Air_Hockey_Simulator.AirHockeySimCtrl.getPuckRectangle C# (CSharp) Method

getPuckRectangle() private method

private getPuckRectangle ( Puck p ) : RectangleF
p Air_Hockey_Simulator.Physics.Puck
return System.Drawing.RectangleF
        private RectangleF getPuckRectangle(Puck p)
        {
            return new RectangleF(s(p.Location.X - p.Radius), s(p.Location.Y - p.Radius), s(p.Radius * 2), s(p.Radius * 2));
        }