For low frame rates, deal with moving over more than one leg per
update. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3923 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -59,7 +59,7 @@ public class LineSegmentPath extends Path
|
|||||||
|
|
||||||
// if we have surpassed the time for this segment, subtract the
|
// if we have surpassed the time for this segment, subtract the
|
||||||
// segment time and move on to the next segment
|
// segment time and move on to the next segment
|
||||||
if (_accum > _durations[_current]) {
|
while (_current < _durations.length && _accum > _durations[_current]) {
|
||||||
_accum -= _durations[_current];
|
_accum -= _durations[_current];
|
||||||
advance();
|
advance();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user