-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed improvements in the collision loop.
- Use Boost.Graph to solve the process order of the items. - Cache the bounding box of the items to prevent useless computations. - Use a dummy shape to fake the implementation of bear::universe::shape. - Pre compute the bounding boxes before searching the collisions. - bear::universe::static_map caches the bounding box of the items.
- Loading branch information
Showing
7 changed files
with
318 additions
and
139 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
Oops, something went wrong.