diff --git a/js/InitCommon.js b/js/InitCommon.js index 65ac757..5ff6fc0 100644 --- a/js/InitCommon.js +++ b/js/InitCommon.js @@ -57,7 +57,6 @@ let oldPinchWidthX = 0; let oldPinchWidthY = 0; let pinchDeltaX = 0; let pinchDeltaY = 0; -let fontAspect; let useGenericInput = true; let EPS_intersect; let textureLoader = new THREE.TextureLoader(); @@ -171,11 +170,6 @@ function onWindowResize(event) renderer.setPixelRatio(pixelRatio); renderer.setSize(SCREEN_WIDTH, SCREEN_HEIGHT); - fontAspect = (SCREEN_WIDTH / 175) * (SCREEN_HEIGHT / 200); - if (fontAspect > 25) fontAspect = 25; - if (fontAspect < 4) fontAspect = 4; - fontAspect *= 2; - pathTracingUniforms.uResolution.value.x = context.drawingBufferWidth; pathTracingUniforms.uResolution.value.y = context.drawingBufferHeight;