-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There's a feature to draw levels with a different camera matrix. This uses `camera-temp-other`, `camera-rot-other`, etc instead of `camera-temp`, `camera-rot`... I assumed that `trans-other` was the "other" version of `trans`, but it turns out this isn't true - `trans-other` is combined with `quat-other` and the original camera matrix. This fixes the issue by using the translation part of `inv-camera-rot-other` for othercam levels only. (it works in all cases, but I didn't want to use it for normal levels since I think it will be less accurate) Co-authored-by: water111 <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
4 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
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