Пример #1
0
 public void NormalizeWeightOrder_BDEF2()
 {
     if (Weight[0].Value < Weight[1].Value)
     {
         CP.Swap(ref Weight[0], ref Weight[1]);
     }
 }
Пример #2
0
 public void NormalizeWeightOrder_SDEF()
 {
     if (Weight[0].Bone > Weight[1].Bone)
     {
         CP.Swap(ref Weight[0], ref Weight[1]);
         CP.Swap(ref R0, ref R1);
     }
 }
Пример #3
0
        // Token: 0x06000275 RID: 629 RVA: 0x0001378C File Offset: 0x0001198C
        public void NormalizeWeightOrder_BDEF2()
        {
            bool flag = this.Weight[0].Value < this.Weight[1].Value;

            if (flag)
            {
                CP.Swap <PmxVertex.BoneWeight>(ref this.Weight[0], ref this.Weight[1]);
            }
        }
Пример #4
0
        // Token: 0x06000276 RID: 630 RVA: 0x000137E4 File Offset: 0x000119E4
        public void NormalizeWeightOrder_SDEF()
        {
            bool flag = this.Weight[0].Bone > this.Weight[1].Bone;

            if (flag)
            {
                CP.Swap <PmxVertex.BoneWeight>(ref this.Weight[0], ref this.Weight[1]);
                CP.Swap <Vector3>(ref this.R0, ref this.R1);
                CP.Swap <Vector3>(ref this.RW0, ref this.RW0);
            }
        }