Update: CC - Snake FS - Mouse Down (gzewp2awcf.js) 52 bytes modified

beta.r3js.org
-=yb4f310 2018-03-24 18:36:34 +01:00
parent c86c972cda
commit 2aee44cc9c
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ var mouse = {
y : -(data.event.offsetY / data.event.target.height) * 2 + 1
}
console.log('mouse ' + mouse.x + ', ' + mouse.y);
this.raycaster.setFromCamera(
mouse,
this.camera