I see that the variable INTERSECTED is often used when making a mouse variable.
I have tried to check the documentation for both Vector2 and mouse and cannot find anywhere explaining why this is the case.
Usually INTERSECTED is not even declared in the code that it is used within.
I usually see it as this:
`var mouse = new THREE.Vector2(), INTERSECTED;`
If someone could explain why it is there, that would be appreciated. The code works with it there, but I just don’t understand why it’s there and why its used when not declared anywhere within the code usually.
An example is this codepen. INTERSECTED is never declared on its own anywhere but used.