// Token: 0x06001726 RID: 5926 RVA: 0x00037F30 File Offset: 0x00036130 private void method_1() { this.method_0(); Point point = new Point(base.Width / 2, base.Height / 2); for (int i = 0; i < this.int_0; i++) { double num = Class477.smethod_11((double)((360 / this.int_0 * i + this.int_3) % 360)); int num2 = Math.Min(base.Width - this.size_0.Width - base.Margin.Horizontal, base.Height - this.size_0.Height - base.Margin.Vertical) / 2; Point point_ = new Point((int)Math.Round((double)point.X + (double)num2 * Math.Cos(num)), (int)Math.Round((double)point.Y + (double)num2 * Math.Sin(num))); Point location = new Point(point_.X - this.size_0.Width / 2, point_.Y - this.size_0.Height / 2); ProgressDots.Class158 @class = null; try { @class = new ProgressDots.Class158(); @class.rectangle_0 = new Rectangle(location, this.size_0); @class.graphicsPath_0 = new GraphicsPath(); @class.graphicsPath_0.AddEllipse(@class.rectangle_0); @class.point_0 = point_; this.list_0.Add(@class); } catch (Exception ex) { if (@class != null) { @class.Dispose(); } @class = null; ex.smethod_0(); } } this.method_2(); }
// Token: 0x06001BF1 RID: 7153 RVA: 0x00057754 File Offset: 0x00055954 public static float?smethod_0(PointF sphereCenter, float sphereRadius, PointF rayPosition, float rayAngle) { double num = Class477.smethod_11((double)rayAngle); PointF pointF = new PointF(-(float)Math.Sin(num), (float)Math.Cos(num)); pointF.smethod_1(); return(Class237.smethod_1(sphereCenter, sphereRadius, rayPosition, pointF)); }