From 377f9588bdc4723d6ca0b228481e8a344397fb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CIsaac?= Date: Tue, 15 Oct 2024 15:16:44 +1000 Subject: [PATCH] feat: update vanilla three example --- examples/three-vanilla-example/index.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/examples/three-vanilla-example/index.html b/examples/three-vanilla-example/index.html index 7b0972ad..c5758837 100644 --- a/examples/three-vanilla-example/index.html +++ b/examples/three-vanilla-example/index.html @@ -2,12 +2,12 @@ @@ -119,8 +119,6 @@ // handle resizing const onWindowResize = () => { - debugDrawer.resize(window.innerWidth, window.innerHeight); - camera.aspect = window.innerWidth / window.innerHeight; camera.updateProjectionMatrix(); renderer.setSize(window.innerWidth, window.innerHeight);