Skip to content

Commit 3be404f

Browse files
committed
fixed(display): In rare cases, curves were displayed with incorrectly.
fix line triangulation winding order Signed-off-by: Tim Deubler <[email protected]>
1 parent 626250f commit 3be404f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/display/src/displays/webgl/buffer/addLineString.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,8 @@ const addSegments = (
595595
} else {
596596
normal.push(
597597
0, 0, 0, 0,
598-
nUp[0], nUp[1], anX, anY,
599-
prevNUp[0], prevNUp[1], anX, anY
598+
prevNUp[0], prevNUp[1], anX, anY,
599+
nUp[0], nUp[1], anX, anY
600600
);
601601
}
602602

0 commit comments

Comments
 (0)