Let's dive into the world of this library I'm referring to:
https://github.com/mrdoob/three.js/blob/dev/examples/js/controls/OrbitControls.js
I've encountered a question that is puzzling me:
The zoom functionality seems elusive to me. It adjusts relative to the distance between the camera and a reference point, yet the exact definition remains hidden.
After ruling out lines 31-33 and the getZoomScale() function (line 276), along with various other sections dedicated to different events, I'm still at a loss.
Is there someone who has delved into this before and may have an inkling as to where the zoom logic resides?
Alternatively, is there a method to customize the zoom scale to a predetermined value rather than its current behavior?