diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-10-10 18:32:44 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-10-10 18:32:44 -0400 |
| commit | d3e3c1198b86f0ad699b16b2ffdc167cbe408e23 (patch) | |
| tree | dd7294e090a759e364d2a100dfae4c7e902ccd4a | |
| parent | 96e13851f64b1fc364cc5ee701713706a81fc647 (diff) | |
| download | balls-d3e3c1198b86f0ad699b16b2ffdc167cbe408e23.zip | |
remove todo
| -rw-r--r-- | balls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -173,7 +173,7 @@ noOverlapCircles(unsigned int n) { for (i = 0; i < n; i++) { cout << "Create non-overlapping circle " << i << "\n"; ps[i] = randPtInRect(r); - for (j = 0; j < i; j++) /* TODO: parallel reduce */ + for (j = 0; j < i; j++) if (isCollision(ps[j], RMAX, ps[i], RMAX)) break; if (j < i) { /* overlapping */ |