From 159a5aefe59a95d3ec3721e2f7a48e30437429f4 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 12 Jul 2020 10:57:14 +0200 Subject: [PATCH] editting commint --- quadtree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quadtree.go b/quadtree.go index 4048189..fa8175c 100644 --- a/quadtree.go +++ b/quadtree.go @@ -29,7 +29,7 @@ type Quadtree struct { // and depth is 2 smallest quadrants will be 25 x 25. Making resolution too high is redundant // if shapes cannot fit into smallest quadrants. // cap - sets maximal capacity of quadrant before it splits to 4 smaller. Making can too big is -// inefficient. optimal value can be 10 but its allways better to test what works the best. +// inefficient. Optimal value can be 5 but its allways better to test what works the best. func NewQuadTree(bounds Rect, depth, cap int) *Quadtree { return &Quadtree{ Rect: bounds,