While attempting to implement OrbitalControls.js in my Electron app, I encountered an issue related to the Spherical constructor.
Uncaught TypeError: THREE.Spherical is not a constructor
I am unable to locate a Sphereical.js file to resolve this error. Can someone point me in the right direction, or is there something else I should be doing?
The error specifically references line 249 in OrbitalControls.js.