diff --git a/src/tools/mesh/scaleUV.ts b/src/tools/mesh/scaleUV.ts index a0d2c176..1988e01f 100644 --- a/src/tools/mesh/scaleUV.ts +++ b/src/tools/mesh/scaleUV.ts @@ -33,13 +33,13 @@ export const normalizeUV = (geometry: BufferGeometry) => { let v = uv.getY(idx) if (u < 0) { - u = 1 - (u % 1) + u = 1 + (u % 1) } else if (u > 1) { u = u % 1 } if (v < 0) { - v = 1 - (v % 1) + v = 1 + (v % 1) } else if (v > 1) { v = v % 1 }