diff --git a/examples/vfx-particle-animation/index.html b/examples/vfx-particle-animation/index.html index 19dfb7c..200a838 100644 --- a/examples/vfx-particle-animation/index.html +++ b/examples/vfx-particle-animation/index.html @@ -337,7 +337,7 @@ .add(params, "cloudDensity", 0.1, 1, 0.01) .name("Cloud Density") .onChange(recreateClouds); - + // advanced noise params const advancedFolder = gui.addFolder("Advanced"); advancedFolder @@ -348,7 +348,7 @@ .add(params, "frequency", 0.1, 1, 0.01) .name("Noise Frequency") .onChange(recreateClouds); - + const presetsFolder = gui.addFolder("Weather"); for (const [name, preset] of Object.entries(presets)) { presetsFolder.add( @@ -365,9 +365,6 @@ ); } - const vrButton = VRButton.createButton(renderer); - if (vrButton) document.body.appendChild(vrButton); - let lastTime = 0; renderer.setAnimationLoop(function animate(time) { const deltaTime = (time - lastTime) * 0.001; diff --git a/examples/vfx-particle-simulation/index.html b/examples/vfx-particle-simulation/index.html index f0f9506..e94d622 100644 --- a/examples/vfx-particle-simulation/index.html +++ b/examples/vfx-particle-simulation/index.html @@ -28,7 +28,6 @@ ForgeRenderer, PointerControls, SplatMesh, - VRButton, generators, } from "@forge-gfx/forge"; import GUI from "lil-gui"; @@ -211,9 +210,6 @@ }) .name("Wind Direction"); - const vrButton = VRButton.createButton(renderer); - if (vrButton) document.body.appendChild(vrButton); - let lastTime; renderer.setAnimationLoop(function animate(time) { const t = time * 0.001;