Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove some unnecessary branching and
abs()
calls in `processMove…
…ment()`. * Since fvel/svel is clamped at the end of the function, these tests just aren't necessary. * Reversed the logic in some if statements so the most likely outcome doesn't fall to the else branch.
- Loading branch information
Showing
1 changed file
with
33 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters