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