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;
5757let oldPinchWidthY = 0 ;
5858let pinchDeltaX = 0 ;
5959let pinchDeltaY = 0 ;
60- let fontAspect ;
6160let useGenericInput = true ;
6261let EPS_intersect ;
6362let textureLoader = new THREE . TextureLoader ( ) ;
@@ -171,11 +170,6 @@ function onWindowResize(event)
171170 renderer . setPixelRatio ( pixelRatio ) ;
172171 renderer . setSize ( SCREEN_WIDTH , SCREEN_HEIGHT ) ;
173172
174- fontAspect = ( SCREEN_WIDTH / 175 ) * ( SCREEN_HEIGHT / 200 ) ;
175- if ( fontAspect > 25 ) fontAspect = 25 ;
176- if ( fontAspect < 4 ) fontAspect = 4 ;
177- fontAspect *= 2 ;
178-
179173 pathTracingUniforms . uResolution . value . x = context . drawingBufferWidth ;
180174 pathTracingUniforms . uResolution . value . y = context . drawingBufferHeight ;
181175
You can’t perform that action at this time.
0 commit comments