vec3 to heading/mark conversion