File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -332,8 +332,7 @@ class PenSkin extends Skin {
332332
333333 const uniforms = {
334334 u_skin : this . _texture ,
335- u_projectionMatrix : projection ,
336- u_fudge : 0
335+ u_projectionMatrix : projection
337336 } ;
338337
339338 twgl . setUniforms ( currentShader , uniforms ) ;
@@ -474,8 +473,7 @@ class PenSkin extends Skin {
474473 0
475474 ) , __modelScalingMatrix ) ,
476475 __modelMatrix
477- ) ,
478- u_fudge : 0
476+ )
479477 } ;
480478
481479 twgl . setTextureParameters ( gl , texture , { minMag : gl . NEAREST } ) ;
Original file line number Diff line number Diff line change @@ -1720,8 +1720,7 @@ class RenderWebGL extends EventEmitter {
17201720 gl . useProgram ( currentShader . program ) ;
17211721 twgl . setBuffersAndAttributes ( gl , currentShader , this . _bufferInfo ) ;
17221722 Object . assign ( uniforms , {
1723- u_projectionMatrix : projection ,
1724- u_fudge : window . fudge || 0
1723+ u_projectionMatrix : projection
17251724 } ) ;
17261725 }
17271726
Original file line number Diff line number Diff line change 11precision mediump float ;
22
3- uniform float u_fudge;
4-
53#ifdef DRAW_MODE_silhouette
64uniform vec4 u_silhouetteColor;
75#else // DRAW_MODE_silhouette
You can’t perform that action at this time.
0 commit comments