From 96053fbcc7da2f88b7ee53ece959c3b9892fceb3 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Mon, 20 Jan 2025 21:33:32 +0530 Subject: [PATCH] dont respond to resizes --- content/post/project_mana/index.html | 9 --------- 1 file changed, 9 deletions(-) diff --git a/content/post/project_mana/index.html b/content/post/project_mana/index.html index 9a2e88d4..8b0c5e1a 100644 --- a/content/post/project_mana/index.html +++ b/content/post/project_mana/index.html @@ -370,15 +370,6 @@ void main() { 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; })