fix image converted surface normals
This commit is contained in:
parent
b71ff1fa0b
commit
3028aa05c5
2 changed files with 2 additions and 3 deletions
1
notes.md
1
notes.md
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
## `C` cosmetic, `F` functional, `P` performance, `B` bug fix
|
||||
|
||||
* `B` normals possibly inverted on faces in 2D to 3D conversion
|
||||
* `B` origin bug (Onshape?) when switching modes in 2.5 and 2.6
|
||||
|
||||
* `P` duplicate objects should share same slice data unless rotated or scaled
|
||||
|
|
|
|||
|
|
@ -414,11 +414,11 @@ KIRI.worker = {
|
|||
let p3 = (x - 0) * height + (y - 0);
|
||||
let p4 = (x - 1) * height + (y - 1);
|
||||
faces[ii++] = p1;
|
||||
faces[ii++] = p2;
|
||||
faces[ii++] = p3;
|
||||
faces[ii++] = p1;
|
||||
faces[ii++] = p4;
|
||||
faces[ii++] = p2;
|
||||
faces[ii++] = p1;
|
||||
faces[ii++] = p2;
|
||||
faces[ii++] = p4;
|
||||
}
|
||||
}
|
||||
send.data({progress: x / width});
|
||||
|
|
|
|||
Loading…
Reference in a new issue