Place
Code:
camera.z -= result * 0.1;


after "vec_add(camera.x,temp.x);". Does that do the trick fo you?


Always learn from history, to be sure you make the same mistakes again...