Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mtsFrm4x4 #50

Open
marcinbalicki opened this issue Jan 15, 2018 · 0 comments
Open

mtsFrm4x4 #50

marcinbalicki opened this issue Jan 15, 2018 · 0 comments

Comments

@marcinbalicki
Copy link
Contributor

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());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant