Skip to content

feature request: Quatd.fromRotationMatrix(Matrix3d) #21

@stephengold

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) .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions