Permalink
Browse files

Expand viewport

  • Loading branch information...
jacobwinters committed Dec 23, 2017
1 parent 5c3be7c commit dfc0d101efc4c4c352da49bd058b7bea3099a5b0
Showing with 1 addition and 1 deletion.
  1. +1 −1 gl.js
View
2 gl.js
@@ -6,7 +6,7 @@ for(var i = 1; i <= 5; i++) {
for(var j = 1; j <= 5; j++) {
const xpos = (j - 3) / 2.5
const ypos = (i - 3) / 2.5;
arrays.push(fullscreen.map(([x, y, x2, y2]) => [(x / 5) + xpos, (y / 5) + ypos, x2, y2]));
arrays.push(fullscreen.map(([x, y, x2, y2]) => [(x / 5) + xpos, (y / 5) + ypos, x2 * 2, y2 * 2]));
}
}

0 comments on commit dfc0d10

Please sign in to comment.