ofQuaternion defines a function:
void ofQuaternion::makeRotate( const ofVec3f& from, const ofVec3f& to );
But it seems there’s no such function in glm. I’ve been spending some time on converting old code base into the new glm-compatible version, and this function is critical.
toGlm() is a quick workaround for this though)
What exactly is this “rotates vec1 to vec2” doing, and what’s the glm way to achieve this?