This commit is contained in:
2026-01-27 18:35:14 +02:00
parent dcaa97741a
commit af8ea0fc82
+2
View File
@@ -200,8 +200,10 @@ class GameEngine extends THREE.EventDispatcher{
await this.initPhysics(); await this.initPhysics();
if (opts.stats){
this.stats = new Stats(); this.stats = new Stats();
document.body.appendChild(this.stats.dom); document.body.appendChild(this.stats.dom);
}
if (opts.ar) { if (opts.ar) {
renderer.xr.enabled = true; renderer.xr.enabled = true;