Document skybox generation process

This commit is contained in:
Danny McGee
2023-10-03 17:07:40 -04:00
parent ccf4d5945e
commit 82157bd54a
6 changed files with 665 additions and 23 deletions
-3
View File
@@ -11,9 +11,6 @@ export class AppElement extends HTMLElement {
const width = window.innerWidth;
const height = window.innerHeight;
try {
// TODO: This siezes up the whole browser for several seconds, presumably
// while the WASM binary is loading. Is there any way to do this
// asynchronously?
studio.init(new ViewportSize(width, height));
} catch (err) {
if (!(err as Error).message?.startsWith("Using exceptions for control flow"))