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.grid.map(
|
||||
function(x) {
|
||||
this.grid[x].map(
|
||||
function(y) {
|
||||
function(x, xIndex) {
|
||||
x.map(
|
||||
function(y, yIndex) {
|
||||
this.starsGeometry.vertices.push(
|
||||
new THREE.Vector3(
|
||||
x + GameLib.CustomCode.GRID_OFFSET_X,
|
||||
y + GameLib.CustomCode.GRID_OFFSET_Y,
|
||||
xIndex + GameLib.CustomCode.GRID_OFFSET_X,
|
||||
yIndex + GameLib.CustomCode.GRID_OFFSET_Y,
|
||||
5
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue