mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
Correct documentation
See first paragraph of https://graphics.stanford.edu/courses/cs268-09-winter/notes/handout6.pdf
This commit is contained in:
parent
4c58eb3382
commit
45ce3f348f
@ -125,9 +125,7 @@ triangulate() {
|
||||
permute.push_back(i + 1);
|
||||
}
|
||||
|
||||
// Actually, I'm not sure why we should shuffle the index. That makes the
|
||||
// result non-deterministic, and isn't one order--for instance, the initial
|
||||
// order--as good as any other?
|
||||
// Shuffling the index ensures n*logn time complexity
|
||||
/*
|
||||
Randomizer randomizer;
|
||||
for (i = 0; i < num_segments; ++i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user