Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Sep 16, 2023
1 parent 907b2f4 commit 042408b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ function setUVs(
// Iterate over the arrays and copy the data to uvData
let index = 0;
for (const uvArray of [uvRight, uvLeft, uvTop, uvBottom, uvFront, uvBack]) {
for (const uv of uvArray) {
// @ts-ignore
uvData[index++] = uv.x;
// @ts-ignore
uvData[index++] = uv.y;
}
for (const uv of uvArray) {
// @ts-ignore
uvData[index++] = uv.x;
// @ts-ignore
uvData[index++] = uv.y;
}
}
uvAttr.needsUpdate = true;
}
Expand Down

0 comments on commit 042408b

Please sign in to comment.