Update: CC - Snake FS - Mouse Down (gzewp2awcf.js) 52 bytes modified
parent
c86c972cda
commit
2aee44cc9c
|
@ -17,6 +17,8 @@ var mouse = {
|
||||||
y : -(data.event.offsetY / data.event.target.height) * 2 + 1
|
y : -(data.event.offsetY / data.event.target.height) * 2 + 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('mouse ' + mouse.x + ', ' + mouse.y);
|
||||||
|
|
||||||
this.raycaster.setFromCamera(
|
this.raycaster.setFromCamera(
|
||||||
mouse,
|
mouse,
|
||||||
this.camera
|
this.camera
|
||||||
|
|
Loading…
Reference in New Issue