OK
I've forgotten to cut:

vec_set(camera.x,camera_dist);
vec_rotate(camera.x,my.pan);
vec_add(camera.x,my.x);

:):)


Never say never.