Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 15 bytes modified
parent
7d1a0dc34f
commit
c2aaf70b99
|
@ -84,13 +84,13 @@ GameLib.CustomCode.prototype.visualizeGrid = function (color) {
|
||||||
this.starsGeometry = new THREE.Geometry();
|
this.starsGeometry = new THREE.Geometry();
|
||||||
|
|
||||||
this.grid.map(
|
this.grid.map(
|
||||||
function(x) {
|
function(x, xIndex) {
|
||||||
this.grid[x].map(
|
x.map(
|
||||||
function(y) {
|
function(y, yIndex) {
|
||||||
this.starsGeometry.vertices.push(
|
this.starsGeometry.vertices.push(
|
||||||
new THREE.Vector3(
|
new THREE.Vector3(
|
||||||
x + GameLib.CustomCode.GRID_OFFSET_X,
|
xIndex + GameLib.CustomCode.GRID_OFFSET_X,
|
||||||
y + GameLib.CustomCode.GRID_OFFSET_Y,
|
yIndex + GameLib.CustomCode.GRID_OFFSET_Y,
|
||||||
5
|
5
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue