I think `camera.position.x - pos.x` is clearer.