Correct documentation

See first paragraph of https://graphics.stanford.edu/courses/cs268-09-winter/notes/handout6.pdf
This commit is contained in:
Bert Myroon 2022-11-02 18:39:45 -06:00 committed by GitHub
parent 4c58eb3382
commit 45ce3f348f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {