We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bafbe0 commit 4f6c03bCopy full SHA for 4f6c03b
js/InitCommon.js
@@ -57,7 +57,6 @@ let oldPinchWidthX = 0;
57
let oldPinchWidthY = 0;
58
let pinchDeltaX = 0;
59
let pinchDeltaY = 0;
60
-let fontAspect;
61
let useGenericInput = true;
62
let EPS_intersect;
63
let textureLoader = new THREE.TextureLoader();
@@ -171,11 +170,6 @@ function onWindowResize(event)
171
170
renderer.setPixelRatio(pixelRatio);
172
renderer.setSize(SCREEN_WIDTH, SCREEN_HEIGHT);
173
174
- fontAspect = (SCREEN_WIDTH / 175) * (SCREEN_HEIGHT / 200);
175
- if (fontAspect > 25) fontAspect = 25;
176
- if (fontAspect < 4) fontAspect = 4;
177
- fontAspect *= 2;
178
-
179
pathTracingUniforms.uResolution.value.x = context.drawingBufferWidth;
180
pathTracingUniforms.uResolution.value.y = context.drawingBufferHeight;
181
0 commit comments