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; } }
private void ApplyNearRightFocus(StabResult stabResult, Trident trident, decimal tineOutFactor) { onVariable = trident.RightVariable; if (!lockTineExplore) { tineSpacing = tineSpacing + (tineSpacing * tineOutFactor); } else { FocusTineSpacing(stabResult, trident); } }