Skip to content

feature request: Quatd.fromRotationMatrix(Matrix3d) #21

Description

@stephengold

Currently SimMath provides Quatd.toRotationMatrix() to convert a Quatd to an equivalent rotation matrix.
It would be useful to provide the inverse as well: a method that converts a Matrix3d to a quaternion, assuming a valid rotation matrix.
This method could be analogous with JME's Quaternion.fromRotationMatrix(Matrix3f) .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions