I recently came across this variable initialization in a WebGL tutorial:
var mouse = { x: 0, y: 0 }, INTERSECTED;
I've never seen this format. I understand it's creating an object with an x and y property, but how is INTERSECTED related to the variable/object?
Thanks!
INTERSECTEDis just being initialized. likevar INTERSECTED;varstatement uses the same character as a separator.