about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--structs_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/structs_test.go b/structs_test.go
index 4be947b..3abb47f 100644
--- a/structs_test.go
+++ b/structs_test.go
@@ -265,9 +265,9 @@ func ExampleNewBoundingBox() {
 // Using the InsideOf() method, it can be determined if a point is inside of a bounding box
 // or not. The Example below can be used as a reference:
 func ExampleInsideOf_Coord() {
-	var point Coord = NewCoord(0, 0)
-	var bounadry BoundingBox = NewBoundingBox(NewCoord(0, 0), 10)
-	var quadtreeCell *Quadtree = NewQuadtree(bounadry, 0)
+	var point = NewCoord(0, 0)
+	var bounadry = NewBoundingBox(NewCoord(0, 0), 10)
+	var quadtreeCell = NewQuadtree(bounadry, 0)
 
 	fmt.Println(point.InsideOf(quadtreeCell))
 	// Output: true