public override void vmethod_0(Class13 class130) { var array = class130.Float0; var num = class130.method_0(); var num2 = class130.method_2(); var num3 = 0f; switch (_int0) { case 1: num3 = Class15.smethod_9(array, num, num2); break; case 2: num3 = Class15.smethod_4(array, num, num2); break; case 3: num3 = 1f; break; } var num4 = _float0 / num3; for (var i = num; i < num + num2; i++) { array[i] = class130.vmethod_1(i, array[i], array[i] * num4); } }
public override void vmethod_0(Class13 class13_0) { float[] array = class13_0.float_0; int num = class13_0.method_0(); int num2 = class13_0.method_2(); float num3 = 0f; switch (this.int_0) { case 1: num3 = Class15.smethod_9(array, num, num2); break; case 2: num3 = Class15.smethod_4(array, num, num2); break; case 3: num3 = 1f; break; } float num4 = this.float_0 / num3; for (int i = num; i < num + num2; i++) { array[i] = class13_0.vmethod_1(i, array[i], array[i] * num4); } }
public override void vmethod_0(Class13 class13_0) { Struct11 @struct = new Struct11(class13_0.int_0 + class13_0.method_0(), class13_0.int_0 + class13_0.method_0() + class13_0.method_2()); if (this.struct11_0.Length != 0) { Struct11[] array = this.struct11_0; for (int i = 0; i < array.Length; i++) { Struct11 struct2 = array[i]; Struct11 struct3 = struct2.method_0(@struct); if (!struct3.method_1()) { this.method_1(ref class13_0.float_0, struct3.method_2() - class13_0.int_0, struct3.method_3(), struct3.method_2() - struct2.method_2(), (float)struct2.method_3()); } } return; } this.method_1(ref class13_0.float_0, class13_0.method_0(), class13_0.method_2(), 0, (float)class13_0.method_2()); }
public override void vmethod_0(Class13 class130) { var @struct = new Struct11(class130.Int0 + class130.method_0(), class130.Int0 + class130.method_0() + class130.method_2()); if (_struct110.Length != 0) { var array = _struct110; for (var i = 0; i < array.Length; i++) { var struct2 = array[i]; var struct3 = struct2.method_0(@struct); if (!struct3.method_1()) { method_1(ref class130.Float0, struct3.method_2() - class130.Int0, struct3.method_3(), struct3.method_2() - struct2.method_2(), struct2.method_3()); } } return; } method_1(ref class130.Float0, class130.method_0(), class130.method_2(), 0, class130.method_2()); }
internal Class18(Class13 class13_0) { //System.ComponentModel.LicenseManager.Validate(typeof(Class18)); //base..ctor(); this.point_0 = class13_0.method_2().method_0(); this.point_1 = class13_0.method_4().method_0(); this.point_2 = class13_0.method_6().method_0(); double x = this.point_0.X; double y = this.point_0.Y; double z = this.point_0.Z; double x2 = this.point_1.X; double y2 = this.point_1.Y; double z2 = this.point_1.Z; double x3 = this.point_2.X; double y3 = this.point_2.Y; double z3 = this.point_2.Z; this.double_0 = x * (y2 * z3 - z2 * y3) + x2 * (z * y3 - y * z3) + x3 * (y * z2 - z * y2); this.double_1 = y * (z3 - z2) + y2 * (z - z3) + y3 * (z2 - z); this.double_2 = x * (z2 - z3) + x2 * (z3 - z) + x3 * (z - z2); this.double_3 = x * (y3 - y2) + x2 * (y - y3) + x3 * (y2 - y); }
private void method_1(List <Class25> vertexList, ref Class21 class21_0) { for (int i = vertexList.Count - 1; i >= 0; i--) { this.vmethod_0(null, null); Class25 @class = vertexList[i]; try { if (@class.method_2().Count != 0) { List <Class23> list = class21_0.method_7(@class); if (list != null) { if (list.Count < 3) { this.list_1.Add(@class); } else { List <Class13> list2 = new List <Class13>(); for (int j = 0; j < list.Count; j++) { Class13 class2 = new Class13(list[j].method_0(), list[j].method_2(), @class); list2.Add(class2); Class13 class3 = list[j].method_4()[0]; Class13 class4 = list[j].method_4()[1]; for (int k = 0; k < class3.method_10().Count; k++) { Class25 class5 = class3.method_10()[k]; if (!(class5 == @class) && !class4.method_15(class5) && class2.method_15(class5)) { class2.method_10().Add(class5); class5.method_2().Add(class2); } } for (int l = 0; l < class4.method_10().Count; l++) { Class25 class6 = class4.method_10()[l]; if (!(class6 == @class) && class2.method_15(class6)) { class2.method_10().Add(class6); class6.method_2().Add(class2); } } class2.method_8()[2] = class4; if (class4.method_6() == list[j].method_0() && class4.method_4() == list[j].method_2()) { class4.method_8()[0] = class2; } if (class4.method_2() == list[j].method_0() && class4.method_6() == list[j].method_2()) { class4.method_8()[1] = class2; } if (class4.method_4() == list[j].method_0() && class4.method_2() == list[j].method_2()) { class4.method_8()[2] = class2; } } list2[0].method_8()[0] = list2[1]; list2[0].method_8()[1] = list2[list2.Count - 1]; for (int m = 1; m < list2.Count - 1; m++) { list2[m].method_8()[0] = list2[m + 1]; list2[m].method_8()[1] = list2[m - 1]; } list2[list2.Count - 1].method_8()[0] = list2[0]; list2[list2.Count - 1].method_8()[1] = list2[list2.Count - 2]; for (int n = 0; n < @class.method_2().Count; n++) { @class.method_2()[n].method_1(false); } class21_0.method_0().AddRange(list2); } } } } catch (System.Exception ex) { this.list_1.Add(@class); } } }
private static void smethod_3(Class13 class13_0, float float_0) { float[] float_ = class13_0.float_0; int num = class13_0.method_0(); int num2 = class13_0.method_2(); try { for (int i = num; i < num + num2; i++) { float_[i] = class13_0.vmethod_1(i, float_[i], float_0 * float_[i]); } Class15.smethod_8(float_, num); Class15.smethod_8(float_, num + num2); } catch (IndexOutOfRangeException) { } }
private static void smethod_2(Class13 class13_0, Class13 class13_1) { int num = class13_0.method_0(); int num2 = class13_0.method_2(); int num3 = class13_1.method_0(); if (class13_1.bool_0) { try { for (int i = 0; i < num2; i++) { class13_0.vmethod_3(class13_0.vmethod_4(num + i) + class13_1.vmethod_4(num3 + i), num + i); } } catch (IndexOutOfRangeException) { } } }
private static void smethod_1(Class13 class13_0, float float_0) { float[] float_ = class13_0.float_0; int num = class13_0.method_0(); int num2 = class13_0.method_2(); int num3 = (int)((float)num2 / float_0); float[] array = new float[float_.Length - num2 + num3]; Buffer.BlockCopy(float_, 0, array, 0, num << 2); double num4 = (double)num; int num5 = num; while (num5 < num + num3 && (int)num4 + 1 < float_.Length) { array[num5] = Class15.smethod_2(float_, (float)num4); num4 += (double)float_0; num5++; } Buffer.BlockCopy(float_, num + num2 << 2, array, num + num3 << 2, float_.Length - num - num2 << 2); class13_0.float_0 = array; }