Update: CC - Snake FS - Mouse Down (gzewp2awcf.js) 60 bytes modified
parent
5ea0e4a0aa
commit
4ab424a252
|
@ -37,8 +37,6 @@ intersects.map(
|
||||||
|
|
||||||
var y = Math.round((1 - intersect.uv.y) * 256);
|
var y = Math.round((1 - intersect.uv.y) * 256);
|
||||||
|
|
||||||
console.log(intersect.mesh.name + ' : ' + x + ',' + y);
|
|
||||||
|
|
||||||
var pixel = intersect.mesh.materials[0].diffuseMap.image.alphas[(256 * y) + x];
|
var pixel = intersect.mesh.materials[0].diffuseMap.image.alphas[(256 * y) + x];
|
||||||
|
|
||||||
if (pixel > 0) {
|
if (pixel > 0) {
|
||||||
|
|
Loading…
Reference in New Issue