editting commint

This commit is contained in:
unknown 2020-07-12 10:57:14 +02:00
parent 49c478af5d
commit 159a5aefe5
1 changed files with 1 additions and 1 deletions

View File

@ -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,