🚀 Auto-deploy: melhoria no snap e medição AR em 22/05/2026 14:53:05

This commit is contained in:
2026-05-22 14:53:05 +00:00
parent bd9d0028f1
commit 69b001f316
5 changed files with 925 additions and 27 deletions
+1 -3
View File
@@ -561,11 +561,9 @@ const XRSession = () => {
gl={{ antialias: true, alpha: true, powerPreference: 'high-performance', preserveDrawingBuffer: true }}
camera={{ position: [1.5, 1.2, 1.5], fov: 50, near: 0.01, far: 100 }}
className="!bg-transparent"
onCreated={({ gl, invalidate }) => {
onCreated={({ gl }) => {
gl.setPixelRatio(Math.min(window.devicePixelRatio, 1.5));
gl.setClearColor(0x000000, 0);
const loop = () => { invalidate(); requestAnimationFrame(loop); };
loop();
}}
>
<XR store={store}>