markuslerner / THREE.Interactive

Fast and simple interaction manager for three.js for enabling mouse and touch events on 3D objects
MIT License
183 stars 26 forks source link

expected 4 arguments, but got 3 #18

Closed ariferol01 closed 1 year ago

ariferol01 commented 1 year ago
const interactionManager = new InteractionManager(
          renderer,
          camera,
          renderer.domElement
        );
markuslerner commented 1 year ago

Hi @ariferol01, thank you for pointing this out. I declared the 4th argument as optional in typescript. Please try Release 1.5.1 and let me know, if it works for you now.