-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made _evaluateSpring take an absolute timestamp
Summary: This separates the looping logic (`_step`) from the state updating logic (`_evaluateSpring`). By keep these separate, it's easier to ensure that only one loop is running at a time, and that the listeners are only triggered once per frame. Reviewers: skevy Reviewed By: skevy Differential Revision: http://codereview.cc/D3339
- Loading branch information
1 parent
49a3a2f
commit 0696712
Showing
1 changed file
with
29 additions
and
18 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