diff options
author | hanemile <hanemile@protonmail.com> | 2018-12-14 18:15:44 +0100 |
---|---|---|
committer | hanemile <hanemile@protonmail.com> | 2018-12-14 18:15:44 +0100 |
commit | 82abca44f9be90c73194f6dd067684660a622143 (patch) | |
tree | 1b982e9a5322f247594716964f661171d317315a | |
parent | fd0ffc82ec36d021669e1bbf10f74bfc3822dd57 (diff) |
removed the pointer foo
-rw-r--r-- | quadtree.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quadtree.go b/quadtree.go index 0be4079..e120904 100644 --- a/quadtree.go +++ b/quadtree.go @@ -73,6 +73,6 @@ func (q *Quadtree) IsLeaf() bool { } // NewQuadtree generates a new root node. -func NewQuadtree(boundary BoundingBox) *Quadtree { - return &Quadtree{Boundary: boundary} +func NewQuadtree(boundary BoundingBox) Quadtree { + return Quadtree{Boundary: boundary} } |