Update: CC - Snake FS - Mouse Down (gzewp2awcf.js) 4 bytes modified
parent
b4497b39d4
commit
8f86617c73
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue