|
@@ -731,7 +731,7 @@ const WorldUVGenerator = {
|
|
|
const d_y = vertices[ indexD * 3 + 1 ];
|
|
|
const d_z = vertices[ indexD * 3 + 2 ];
|
|
|
|
|
|
- if ( Math.abs( a_y - b_y ) < 0.01 ) {
|
|
|
+ if ( Math.abs( a_y - b_y ) < Math.abs( a_x - b_x ) ) {
|
|
|
|
|
|
return [
|
|
|
new Vector2( a_x, 1 - a_z ),
|