-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lasers: improve collision; move to lasers/
Moved quantization out of the draw code. The laser is now quantized once per frame, and the segment data is used for both collisions and rendering. Player motion is now accounted for as well, preventing phasing through thin lasers. The overall result is more precise *and* faster collision detection.
- Loading branch information
Showing
15 changed files
with
963 additions
and
726 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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.