From a56d1134968de6b4867de24a1e8f15112a7e9554 Mon Sep 17 00:00:00 2001 From: hanemile Date: Sat, 3 Nov 2018 18:11:37 +0100 Subject: Updated the ExampleInsideOf() function name and the Example text --- structs_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/structs_test.go b/structs_test.go index fc7e66f..d165364 100644 --- a/structs_test.go +++ b/structs_test.go @@ -139,9 +139,9 @@ func ExampleNewBoundingBox() { // Output: {{0 0} 10} } -// Using the InsideOf() function, it can be determined if a point is inside of a bounding box +// 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() { +func ExampleInsideOf_Coord() { var point Coord = NewCoord(0, 0) var bounadry BoundingBox = NewBoundingBox(NewCoord(0, 0), 10) var quadtreeCell *Quadtree = NewQuadtree(bounadry, 0) -- cgit 1.4.1