Encountering an issue with TrackballControls.js:
the error "this.domElement.addEventListener is not a function" keeps popping up
This problem arises when I try to link the TrackballControls
to a DOM element:
// 'container' represents a variable
var trackballControls = new THREE.TrackballControls(camera, container);
Any suggestions?