/// Convert to 4-by-4 projection space matrix Mat4d matrix() const { Mat4d m; quat().toMatrix(&m[0]); m.set(&vec()[0], 3, 12); return m; }