🚀 Auto-deploy: melhoria no snap e medição AR em 04/08/2026 20:12:43
This commit is contained in:
@@ -246,7 +246,7 @@ const QuestCubeLab = () => {
|
|||||||
const [xrSupported] = useState(() =>
|
const [xrSupported] = useState(() =>
|
||||||
typeof navigator !== "undefined" &&
|
typeof navigator !== "undefined" &&
|
||||||
"xr" in navigator &&
|
"xr" in navigator &&
|
||||||
typeof (navigator as Navigator & { xr?: { isSessionSupported?: Function } }).xr?.isSessionSupported === "function"
|
typeof (navigator as Navigator & { xr?: { isSessionSupported?: (mode: string) => Promise<boolean> } }).xr?.isSessionSupported === "function"
|
||||||
);
|
);
|
||||||
|
|
||||||
const posRef = useRef(cubePos);
|
const posRef = useRef(cubePos);
|
||||||
|
|||||||
Reference in New Issue
Block a user