modify quat and vec3