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 b2bc25e commit 303dfc9Copy full SHA for 303dfc9
examples/jsm/loaders/SVGLoader.js
@@ -3082,7 +3082,8 @@ class SVGLoader extends Loader {
3082
} else {
3083
3084
tempV2_3.toArray( vertices, 1 * 3 );
3085
- tempV2_3.toArray( vertices, 3 * 3 );
+ // using tempV2_4 to update 3rd vertex if the uv.y of 3rd vertex is 1
3086
+ uvs[ 3 * 2 + 1 ] === 1 ? tempV2_4.toArray( vertices, 3 * 3 ) : tempV2_3.toArray( vertices, 3 * 3 );
3087
tempV2_4.toArray( vertices, 0 * 3 );
3088
3089
}
0 commit comments