What is changing on right mouse drag - Orbit controls

Hi Could you please tell me what parameter of camera is changing when I use right mouse click and drag- I am seeing that camera position is not changing, so I am wondering what does.

The following live example shows that OrbitControls transforms the camera’s position when panning. That works for both camera types (perspective and orthographic).

https://jsfiddle.net/9xzstnvq/

Maybe you are doing something wrong in your app.