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

beta.r3js.org
-=yb4f310 2018-03-24 19:02:37 +01:00
parent b4497b39d4
commit 8f86617c73
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ var mouse = {
y : -(data.event.offsetY / data.event.target.clientHeight) * 2 + 1
}
console.log('mouse ' + mouse.x + ', ' + mouse.y);
//console.log('mouse ' + mouse.x + ', ' + mouse.y);
this.raycaster.setFromCamera(
mouse,
@ -27,7 +27,7 @@ this.raycaster.setFromCamera(
var intersects = this.raycaster.getIntersectedObjects(this.buttons);
if (intersects.length === 0) {
console.log('nothing');
//console.log('nothing');
}
intersects.map(