Пример #1
0
 /// <summary>
 /// Поворот атрибута в 0
 /// </summary>
 public static void Normalize([NotNull] this AttributeReference atr)
 {
     if (Math.Abs(atr.Rotation) > 0.0001)
     {
         if (!atr.IsWriteEnabled)
         {
             atr = atr.UpgradeOpenTr();
         }
         atr.Rotation = 0;
     }
 }