private void GetShapeAdjust() { if (DsSet.Settings.SphereFit || DsSet.Settings.FortifyShield) { DsState.State.EllipsoidAdjust = 1f; } else if (!DsSet.Settings.ExtendFit) { DsState.State.EllipsoidAdjust = UtilsStatic.CreateNormalFit(Shield, DsState.State.GridHalfExtents); } else { DsState.State.EllipsoidAdjust = UtilsStatic.CreateExtendedFit(Shield, DsState.State.GridHalfExtents); } }