[instancer/L4] Add a comment
This commit is contained in:
parent
10bc7a804a
commit
ddc484d384
@ -175,6 +175,8 @@ def _solve(tent, axisLimit, negative=False):
|
|||||||
# axisDef axisMax
|
# axisDef axisMax
|
||||||
#
|
#
|
||||||
newUpper = peak + (1 - gain) * (upper - peak)
|
newUpper = peak + (1 - gain) * (upper - peak)
|
||||||
|
# I feel like the first condition is always true because
|
||||||
|
# outGain >= gain.
|
||||||
if axisMax <= newUpper and newUpper <= axisDef + (axisMax - axisDef) * 2:
|
if axisMax <= newUpper and newUpper <= axisDef + (axisMax - axisDef) * 2:
|
||||||
upper = newUpper
|
upper = newUpper
|
||||||
if not negative and axisDef + (axisMax - axisDef) * MAX_F2DOT14 < upper:
|
if not negative and axisDef + (axisMax - axisDef) * MAX_F2DOT14 < upper:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user