Skip to content

Commit a6b0a7c

Browse files
committed
Fix - arb8 shapes faces building
In ROOT different vertices are used to produce geometry faces. Take it for JSROOT
1 parent 74907bd commit a6b0a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/JSRootGeoBase.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,8 @@
598598
shape.fXY[7][0], shape.fXY[7][1], shape.fDZ
599599
],
600600
indicies = [
601-
4,7,6, 6,5,4, 0,3,7, 7,4,0,
602-
4,5,1, 1,0,4, 6,2,1, 1,5,6,
601+
4,7,6, 6,5,4, 0,3,4, 7,4,3,
602+
4,5,0, 1,0,5, 6,2,1, 1,5,6,
603603
7,3,2, 2,6,7, 1,2,3, 3,0,1 ];
604604

605605
// detect same vertices on both Z-layers

0 commit comments

Comments
 (0)