feat: update

This commit is contained in:
Himadri Bhattacharjee
2025-01-25 15:03:44 +05:30
parent 8462597aa4
commit 1f5ac68621

View File

@@ -415,15 +415,6 @@ function animate() {
renderer.setAnimationLoop(animate);
window.addEventListener('resize', function() {
width = window.innerWidth
height = window.innerHeight
camera.aspect = width / height;
camera.updateProjectionMatrix();
renderer.setSize(width, height);
init = true;
});
orbit.addEventListener('change', function() {
init = true;
})