-
-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented get_yaw_pitch_roll() and changed most of RenderingParamet…
…ers to Eigen * Updated/improved the docs of RenderingParameters a bit * Added get_yaw_pitch_roll() to convert from the Eigen rotation quaternion to Euler angles (Tait-Bryan angles, to be precise) that are (almost) equivalent to the angles GLM outputted before. * Removed GLM code from get_modelview() and get_projection(). I tested the Eigen equivalents carefully. * Changed the fitting code & apps to use rendering_params.get_yaw_pitch_roll()[0] for the contour fitting. Some code is still duplicated in RenderingParameters (i.e. containing the GLM and Eigen equivalents), for further testing.
- Loading branch information
1 parent
7e99ab1
commit a23ee0b
Showing
4 changed files
with
69 additions
and
45 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
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