1 auto q = quat.fromAngle( PI_2, vec3(0,0,1) ); 2 auto v = vec3(1,0,0); 3 auto e = vec3(0,1,0); 4 auto r = q.rot(v); 5 assertEq( r, e );
See Implementation