Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-05-24 22:53:02 +00:00
parent 2754260962
commit eb34692fdd
+1
View File
@@ -1283,6 +1283,7 @@ export function ModelViewerCanvas({ url }: ModelViewerProps) {
const isApple = /Mac|iPhone|iPad/.test(navigator.platform);
const maxRatio = isApple ? 2 : 1.5;
gl.setPixelRatio(Math.min(window.devicePixelRatio, maxRatio));
gl.localClippingEnabled = true;
}}
>
<CameraSwitcher />