mirror of
https://github.com/storytold/spark.git
synced 2026-10-18 00:22:59 +00:00
Remove VR button
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user