mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Depth sorter improvement
Fix ordering when two triangles in a plane share vertices. Triangle still has to be tested with other triangles.
This commit is contained in:
@@ -13449,9 +13449,9 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
|
||||
testTid = activeTid + 1;
|
||||
} else {
|
||||
// oops, we already tested this one, probably intersecting or
|
||||
// interlocked in loop with others, just draw it incorrectly :(
|
||||
draw = true;
|
||||
// oops, we already tested this one, either in one plane or
|
||||
// interlocked in loop with others, just ignore it for now :(
|
||||
testTid++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user