track users orientation
// Track the user's current orientation.
function orientation (value) { cur_rot[0] = value[0]; cur_rot[1] = value[1]; cur_rot[2] = value[2]; cur_rot[3] = value[3]; } " }