A faster complement to:
u1 = ...
u2 = u1.unitOrthogonal();
u3 = u1.cross(u2);
following this paper: http://jcgt.org/published/0006/01/01/
Sure, why not.
Any suggestion for naming that function? And should it be a free function or a static member of some class?
And is there an algorithm to efficiently calculate a corresponding Quaternion as well?
Somewhat related is Bug 17 (creation of a lookAt transformation) -- at least I would look for both functions in the same module.
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1625.