private void m000031() { float num = this.m000022().X / 2f; float single1 = this.m000022().Y / 2f; for (int i = 0; i < 10; i++) { if (this.f000010 >= this.f00000b) { break; } Vector2 vector = this.f000240[this.f000010]; this.f000010++; c00020e ce = c00021c.m0002e0(this.f00002d); if (this.m00009d() != enum0225.f000045) { ce.m000091(enum022e.f000244); } c00022f cf = new c00022f(); cf.m000069(ce); cf.m000023(new Vector2(0f, vector.Y)); cf.m000025((num - vector.X) / this.m000024()); if (this.f000031 > 0f) { c000075 c = ce.m000282().m00002f(); c.m00025a(0.8f); c.m0001cb(enum0103.f00015a); c.m0001c8(this.f000031); c.m0001c9(this.f000031); c.m0001ca(this.f000031); c.m000143(this.f000031); c.m000265(this.f000031 / 2f); } this.m00010d(cf); } if (this.f00005b.Count == this.f00000b) { this.f00023f = enum0226.f00006c; this.f000240 = null; } }
private void m000098(c00022f p0) { c00020e ce = p0.m00009f(); if (this.m000008() && (ce.m00029f() != enum022e.f0000c0)) { if (ce.m000044() != enum02a.f000039) { ce.m000091(enum022e.f000243); return; } if (((ce.m00029f() != enum022e.f000244) || (this.f000001 == enum0225.f000045)) || ((this.f00008e == null) || (this.f00005b.Count <= 1))) { ce.m000031(); } } if (this.f000001 != enum0225.f000045) { if (ce.m00029f() == enum022e.f0000bf) { ce.m000091(enum022e.f000244); } if (ce.m00029f() == enum022e.f000244) { c000029 c = ce.m000282(); double num = c000057.m000086(this.f000069) - p0.m000024(); if (num < 0.0) { num = 0.0; if (this.m000008() && (ce.m00029f() != enum022e.f0000c0)) { ce.m000091(enum022e.f000243); return; } } else if (num > this.f00008e[this.f00008e.get_Count() - 1].f000069) { ce.m000091(enum022e.f000243); return; } if (num > this.f00008e[this.f00008e.get_Count() - 1].f000069) { num = this.f00008e[this.f00008e.get_Count() - 1].f000069; } Vector3 vector = this.f00008e.m0002a9(num); float num2 = 0f; if (p0.m000022().Length() > 0f) { num2 = (float) Math.Asin((double) (p0.m000022().Y / p0.m000022().Length())); } if (p0.m000022().X < 0f) { num2 = 3.141593f - num2; } float num3 = 0f; if (vector.Length() > 0f) { num3 = (float) Math.Asin((double) (vector.Y / vector.Length())); } if (vector.X < 0f) { num3 = 3.141593f - num3; } float num4 = num3 + num2; Vector3 vector2 = new Vector3(); vector2.X = p0.m000022().Length() * ((float) Math.Cos((double) num4)); vector2.Y = p0.m000022().Length() * ((float) Math.Sin((double) num4)); Vector3 vector3 = this.f00008e.m0002a8(num) + vector2; c.m000023(c000029.m000034(vector3)); float num5 = c000029.m00003d(new Vector2(vector.X, vector.Y)); c.m000025(c000029.m000037(num5)); } } }
public void m00010d(c00022f p0) { this.f00005b.Add(p0); this.f00000f += p0.m00009f().m0002d5(); if ((p0.m000024() * 1000f) > this.f0000a5) { this.f0000a5 = p0.m000024() * 1000f; } }