Oh no! I'm really sorry, that was just a typo!! I meant:
Sorry about that. I was staring and staring at your code and trying to work out what on earth they'd do.Code:fprintf(out,"%lf %lf %lf",cam->view_point.x,cam->view_point.y,cam->view_point.z);