void matrices2quats( int n ){ glBegin ( GL_POINTS ); for( int i=0; i<n; i++ ){ Mat3f M; M.fromRand( {randf(),randf(),randf()} ); Quat4f q; q.fromMatrix(M); glVertex3f( (float)q.x, (float)q.y, (float)q.z ); } glEnd(); }