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

beta.r3js.org
-=yb4f310 2018-03-24 19:17:26 +01:00
parent 7393340ba6
commit 3fc7402b2e
1 changed files with 2 additions and 0 deletions

View File

@ -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) {