// Token: 0x060003CF RID: 975 RVA: 0x0001A12A File Offset: 0x0001832A public static void SortList(List <PmxVertex.BoneWeight> list) { CP.SSort <PmxVertex.BoneWeight>(list, delegate(PmxVertex.BoneWeight l, PmxVertex.BoneWeight r) { float num = Math.Abs(r.Value) - Math.Abs(l.Value); bool flag = num < 0f; int result; if (flag) { result = -1; } else { bool flag2 = num <= 0f; if (flag2) { result = 0; } else { result = 1; } } return(result); }); }
public static void SortList(List <BoneWeight> list) { CP.SSort(list, delegate(BoneWeight l, BoneWeight r) { float num = Math.Abs(r.Value) - Math.Abs(l.Value); return((!(num < 0f)) ? ((num > 0f) ? 1 : 0) : (-1)); }); }