From a63478a3baca2be09053c07c0523ee1aaeee4e8c Mon Sep 17 00:00:00 2001 From: admtracksteel Date: Tue, 4 Aug 2026 20:30:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Auto-deploy:=20melhoria=20no=20s?= =?UTF-8?q?nap=20e=20medi=C3=A7=C3=A3o=20AR=20em=2004/08/2026=2020:30:55?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lab/QuestCubeLab.tsx | 66 ++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/lab/QuestCubeLab.tsx b/src/lab/QuestCubeLab.tsx index ca42d09..41f7710 100644 --- a/src/lab/QuestCubeLab.tsx +++ b/src/lab/QuestCubeLab.tsx @@ -7,7 +7,8 @@ import { Environment, PerspectiveCamera, } from "@react-three/drei"; -import { XR, createXRStore } from "@react-three/xr"; +import { XR } from "@react-three/xr"; +import { xrStore as store } from "@/stores/useXRStore"; import * as THREE from "three"; import { Beaker, @@ -17,6 +18,7 @@ import { RotateCcw, Hand, } from "lucide-react"; +import { Suspense } from "react"; /** * ============================================================ @@ -39,10 +41,6 @@ const CUBE_SIZE = 1; type AlignPhase = 'IDLE' | 'WAIT_SURFACE' | 'WAIT_FACE2' | 'WAIT_EDGE'; -const store = createXRStore({ - controller: { left: true, right: true }, -}); - // =================================================================== // COMPONENTE: CuboControlado // =================================================================== @@ -411,36 +409,38 @@ const QuestCubeLab = () => {
- + - - - - - - - + + + + + + + +
- - - - - - - + + + + + + + +