summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-10-10 18:32:44 -0400
committerSam Anthony <sam@samanthony.xyz>2024-10-10 18:32:44 -0400
commitd3e3c1198b86f0ad699b16b2ffdc167cbe408e23 (patch)
treedd7294e090a759e364d2a100dfae4c7e902ccd4a
parent96e13851f64b1fc364cc5ee701713706a81fc647 (diff)
downloadballs-d3e3c1198b86f0ad699b16b2ffdc167cbe408e23.zip
remove todo
-rw-r--r--balls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/balls.cpp b/balls.cpp
index 2c4ee6b..55dee50 100644
--- a/balls.cpp
+++ b/balls.cpp
@@ -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 */