0

So I'm using ThreeJS and I want to implement their example. This is the example and here is the source.

But if we look at this line:

var mouse = new THREE.Vector2(), INTERSECTED;

I can't get this to work in Angular, and even in Javascript I don't understand it. Any help or direction on how to use this syntax with Angular is appreciated.

RiesvGeffen
  • 1,369
  • 1
  • 8
  • 25
  • 1
    Its multiple declaration combined. `var mouse = new THREE.Vector2(); var INTERSECTED;` – Rajesh Sep 12 '19 at 10:40
  • I feel stupid know, was thinking too much. I thought is was some import that I couldn't find. Thanks for the quick response. – RiesvGeffen Sep 12 '19 at 10:41

0 Answers0