Skip to content

Commit

Permalink
Add loadingUI in spinner page
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubidumdu committed Oct 25, 2023
1 parent 636c77a commit 4a7b738
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/spinner/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const main = async () => {
const canvas = document.getElementById('canvas') as HTMLCanvasElement;
const engine = new Engine(canvas, true);
const scene = new Scene(engine);
engine.displayLoadingUI();
scene.clearColor = Color4.FromHexString('#212E33');
const { spinner } = await loadModel(scene);
setupCamera(scene);
Expand Down

0 comments on commit 4a7b738

Please sign in to comment.