about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--quadtree.go4
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}
 }