Skip to content

Commit

Permalink
add sun-particles
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkie committed Apr 1, 2024
1 parent e3eb2c2 commit 5022cb1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fixtures/using-babylonjs/sun-particles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const scene = spatialDocument.scene;
BABYLON.ParticleHelper.CreateAsync('sun', scene).then((set) => {
set.start();
});
8 changes: 8 additions & 0 deletions fixtures/using-babylonjs/sun-particles.xsml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<xsml>
<head>
<title>Using with Babylon.js (Sun Particles)</title>
<script type="module" src="sun-particles.js"></script>
</head>
<space>
</space>
</xsml>

0 comments on commit 5022cb1

Please sign in to comment.