3D-scrap #5

Open
oimwiodev wants to merge 3 commits from 3D-scrap into main
Showing only changes of commit d68a652a64 - Show all commits

View File

@@ -86,7 +86,7 @@ export default function GlassesModelSection({ t }: { t: Messages }) {
const resize = () => {
const { width, height } = wrap.getBoundingClientRect();
const pixelRatio = Math.min(window.devicePixelRatio || 1, 1.7);
const scale = width < 640 ? 0.5 : width < 1024 ? 0.68 : 0.9;
const scale = width < 640 ? 0.42 : width < 1024 ? 0.68 : 0.9;
renderer.setPixelRatio(pixelRatio);
renderer.setSize(width, height, false);
group.scale.setScalar(scale);