iam add this

vec_set(temp,camera.x);
vec_sub(temp,rad.x);
vec_to_angle(rad.pan,temp);

now is correct ,but when i moving mouse.y my cylined still rotating (panning)
maybe i post video