Skip to content

mtsFrm4x4 #50

Open
Open
@marcinbalicki

Description

@marcinbalicki

Ran into a surprising data type mismatch issue - last line fails with "no viable overload = " on mac OS. Any thoughts?

mtsFrm4x4 goalFrm;
mtsFrm4x4 currentFrm;
mtsFrm4x4 diffFrm;
diffFrm.Translation() =  goalFrm.Translation() - currentFrm.Translation();
diffFrm.Rotation() = goalFrm.Rotation() * currentFrm.Rotation().Transpose();

The unsightly workaround is below :
diffFrm.Rotation().Assign(goalFrm.Rotation() * currentFrm.Rotation().Transpose());

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