Commit fc10d164 by Иван Кубота

Merge branch 'master' of gitlab.quokka.pub:Zibx/projectSane

parents d80db96a cdfb147a
...@@ -186,7 +186,13 @@ ctx.imageSmoothingEnabled = false; ...@@ -186,7 +186,13 @@ ctx.imageSmoothingEnabled = false;
var w = 1600; var w = 1600;
var h = 1024; var h = 1024;
var onResize = function () {
w = c1.width = window.innerWidth;
h = c1.height = window.innerHeight;
};
/*document.addEventListener('resize', onResize);
setTimeout(onResize, 1);*/
var Camera = { var Camera = {
position: [w/2, h/2], position: [w/2, h/2],
scale: 8, scale: 8,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment