Skip to content

Commit

Permalink
Expand viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwinters committed Dec 23, 2017
1 parent 5c3be7c commit dfc0d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gl.js
Expand Up @@ -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]));
}
}

Expand Down

0 comments on commit dfc0d10

Please sign in to comment.