var cam_dist[3] = -100, 0, 10;
You have missed the "equal sign".