File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ Output</h4>
299
299
300
300
3. If at least one of |points| has an [=input progress value=]
301
301
matching |inputProgress|,
302
- return the largest [=output progress value=] from among them .
302
+ return the [=output progress value=] of the last such point .
303
303
304
304
4. Otherwise, find two [=linear()/control points=] ,
305
305
|A| and |B|,
@@ -317,11 +317,9 @@ Output</h4>
317
317
If |A| and |B| have the same [=input progress value=] ,
318
318
return |B|'s [=output progress value=] .
319
319
320
- 3. Otherwise, let |A| be the [=linear()/control point=]
321
- with the largest [=output progress value=]
320
+ 3. Otherwise, let |A| be the last [=linear()/control point=]
322
321
whose [=input progress value=] is smaller than |inputProgress|,
323
- and let |B| be the [=linear()/control point=]
324
- with the smallest [=output progress value=]
322
+ and let |B| be the first [=linear()/control point=]
325
323
whose [=input progress value=] is larger than |inputProgress|.
326
324
327
325
5. Linearly interpolate (or extrapolate) |inputProgress|
You can’t perform that action at this time.
0 commit comments