Update: CC - Snake FS - Mouse Down (gzewp2awcf.js) 36 bytes modified
parent
baf6aeed9a
commit
ada505f1b0
|
@ -39,6 +39,9 @@ this.raycaster.getIntersectedObjects(this.buttons).map(
|
||||||
}
|
}
|
||||||
|
|
||||||
var x = Math.round(intersect.uv.x * 256);
|
var x = Math.round(intersect.uv.x * 256);
|
||||||
|
|
||||||
|
var y = 1 - intersect.uv.y;
|
||||||
|
|
||||||
var y = Math.round((1 - intersect.uv.y) * 256);
|
var y = Math.round((1 - intersect.uv.y) * 256);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue