Skip to content

Commit

Permalink
Merge pull request #16 from dyalab/bugfix/rotmat-to-quat
Browse files Browse the repository at this point in the history
Fixed bug where RotMat->Quat conversion would not give a minimized quaternion
  • Loading branch information
ndantam authored May 21, 2021
2 parents 4eb1661 + a0908ab commit 021a657
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tf.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ void aa_tf_rotmat2quat( const double R[restrict 9],
}

aa_tf_qnormalize(q);
aa_tf_qminimize(q);
}

/* void aa_tf_rotvec2quat( const double rotvec[restrict 3], */
Expand Down

0 comments on commit 021a657

Please sign in to comment.