-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove the degenerate case of vertical directions, by updating the viewup as the camera moves. - Remove the consequent limitation to 89.9 degrees. - Add (unused so far) camera roll angle, with setter. - Add accessors for all angles. Lua will want to know that. - Rename m_angleV/H to m_viewAngleV/H to distinguish them clearly from the orientation of the mesh. They will differ e.g. when the player is sitting somewhere. - Rename vertical turn so it includes 'view' in the name, because this one does not affect the player's rotation as turnH does. - Make player look north at start, like it originally did before the Z-up changes.
- Loading branch information
Pedro Gimeno
authored and
Gitea
committed
Feb 24, 2020
1 parent
4fc45e3
commit 4f37012
Showing
3 changed files
with
42 additions
and
29 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
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