예제 #1
0
 private void FocusTineSpacing(StabResult stabResult, Trident trident)
 {
     if (stabResult.LeftDistance < stabResult.RightDistance)
     {
         tineSpacing = (trident.MiddleVariable - trident.LeftVariable) / 2;
     }
     else
     {
         tineSpacing = (trident.RightVariable - trident.MiddleVariable) / 2;
     }
 }
예제 #2
0
 private void ApplyNearRightFocus(StabResult stabResult, Trident trident, decimal tineOutFactor)
 {
     onVariable = trident.RightVariable;
     if (!lockTineExplore)
     {
         tineSpacing = tineSpacing + (tineSpacing * tineOutFactor);
     }
     else
     {
         FocusTineSpacing(stabResult, trident);
     }
 }