File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ let oldPinchWidthX = 0;
57
57
let oldPinchWidthY = 0 ;
58
58
let pinchDeltaX = 0 ;
59
59
let pinchDeltaY = 0 ;
60
- let fontAspect ;
61
60
let useGenericInput = true ;
62
61
let EPS_intersect ;
63
62
let textureLoader = new THREE . TextureLoader ( ) ;
@@ -171,11 +170,6 @@ function onWindowResize(event)
171
170
renderer . setPixelRatio ( pixelRatio ) ;
172
171
renderer . setSize ( SCREEN_WIDTH , SCREEN_HEIGHT ) ;
173
172
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
173
pathTracingUniforms . uResolution . value . x = context . drawingBufferWidth ;
180
174
pathTracingUniforms . uResolution . value . y = context . drawingBufferHeight ;
181
175
You can’t perform that action at this time.
0 commit comments