shx-3d-render

main
Jan Umbach 2024-06-13 20:48:04 +02:00
parent 6499d8c657
commit 01ee16168a
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@
renderer.setSize(width * 1.5, height * 1.5);
renderer.domElement.style.width = width + 'px';
renderer.domElement.style.height = height + 'px';
renderer.domElement.style.marginTop = '1rem';
renderer.setAnimationLoop(animate);
container.appendChild(renderer.domElement);