diff options
author | hanemile <hanemile@protonmail.com> | 2018-11-03 19:41:37 +0100 |
---|---|---|
committer | hanemile <hanemile@protonmail.com> | 2018-11-03 19:41:37 +0100 |
commit | a1860696f2c27ef0745a104002a4eb5a9de5f485 (patch) | |
tree | f908b2063083fceddff5f3500effc1042a6eeff7 | |
parent | 434e3dc2f25ffa8ff2d302dee2495ade6167c6d5 (diff) |
removed the types
-rw-r--r-- | structs_test.go | 6 |
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 |