diff --git a/404.html b/404.html index 894a26a..ae585b6 100644 --- a/404.html +++ b/404.html @@ -95,4 +95,4 @@ - \ No newline at end of file + diff --git a/cube.css b/cube.css index 1aa1c90..e531dbc 100644 --- a/cube.css +++ b/cube.css @@ -1,7 +1,7 @@ @font-face { font-family: "Bai Jamjuree"; font-weight: 700; - src: url(BaiJamjuree700.woff2) format(woff2); + src: url("BaiJamjuree700.woff2") format("woff2"); } body, diff --git a/cube.js b/cube.js index a76bab1..dbb3264 100644 --- a/cube.js +++ b/cube.js @@ -111,7 +111,7 @@ const orientation = { { const mouse = { down: false, - lastMove: -10_000, + lastMove: -10000, previous: null, }; @@ -207,7 +207,7 @@ const orientation = { velocity.z = 0; } - if (window.performance.now() - mouse.lastMove > 10_000) { + if (window.performance.now() - mouse.lastMove > 10000) { const impulse = new Vec3(1, 1, -1); velocity = Vec3.sum(impulse.scale(effectiveDelta * 3), velocity); }