Skip to content

Commit

Permalink
Fix: default to identity quaternion, rather than invalid (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
nigels-com authored Sep 28, 2022
1 parent 71b28ce commit f9f493d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/E57SimpleData.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace e57
//! @brief Represents a rigid body rotation.
struct E57_DLL Quaternion
{
double w{ 0. }; //!< The real part of the quaternion. Shall be nonnegative
double w{ 1. }; //!< The real part of the quaternion. Shall be nonnegative
double x{ 0. }; //!< The i coefficient of the quaternion
double y{ 0. }; //!< The j coefficient of the quaternion
double z{ 0. }; //!< The k coefficient of the quaternion
Expand Down

0 comments on commit f9f493d

Please sign in to comment.