Update: CC - Snake FS - Mouse Down (gzewp2awcf.js) 85 bytes modified
parent
3b974c7b4c
commit
2072a149f4
|
@ -23,6 +23,9 @@ this.raycaster.setFromCamera(
|
||||||
|
|
||||||
this.raycaster.getIntersectedObjects(this.buttons).map(
|
this.raycaster.getIntersectedObjects(this.buttons).map(
|
||||||
function(intersect) {
|
function(intersect) {
|
||||||
|
|
||||||
|
var imageData = intersect.mesh.materials[0].diffuseMap.image.getPixelData();
|
||||||
|
|
||||||
console.log(intersect.mesh.name);
|
console.log(intersect.mesh.name);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue