[instancer.solver] Add comments

This commit is contained in:
Behdad Esfahbod 2022-08-08 11:32:07 -06:00
parent 7f79fad3d0
commit 617f19ff8d

View File

@ -48,11 +48,14 @@ def _solve(tent, axisLimit):
out.append((scalar - gain, loc))
# case 3a1, similar to case 1neg
if upper >= axisMax:
loc = (crossing, axisMax, axisMax)
scalar = supportScalar({'tag': axisMax}, {'tag': tent})
out.append((scalar - gain, loc))
# case 3a2, similar to case 2neg
else:
loc1 = (crossing, upper, axisMax)
scalar1 = 0