HI there
So whaty needs to be imported to make this work?
async function createScene() {
engine = new Engine(document.createElement("canvas"), true);
scene = new Scene(engine);
scene.createDefaultCamera();
engine.runRenderLoop(() => {
scene.render();
});
await awaitingSceneReady();
}
Uncaught (in promise) TypeError: scene.createDefaultCamera is not a function