From e225e9a1efc7978f0cbd26e3769825ece2b1a80b Mon Sep 17 00:00:00 2001
From: Ben Cragg <bcvery1@gmail.com>
Date: Tue, 29 Jan 2019 11:47:49 +0000
Subject: [PATCH] corrected comment

---
 geometry.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geometry.go b/geometry.go
index 5d0db99..22f650a 100644
--- a/geometry.go
+++ b/geometry.go
@@ -484,7 +484,7 @@ func (c Circle) Intersect(d Circle) Circle {
 func (c Circle) IntersectsRect(r Rect) bool {
 	// Checks if the c.Center is not in the diagonal quadrants of the rectangle
 	if (r.Min.X <= c.Center.X && c.Center.X <= r.Max.X) || (r.Min.Y <= c.Center.Y && c.Center.Y <= r.Max.Y) {
-		// 'grow' the Rect by c.Radius in each diagonal
+		// 'grow' the Rect by c.Radius in each orthagonal
 		return Rect{
 			Min: r.Min.Sub(V(c.Radius, c.Radius)),
 			Max: r.Max.Add(V(c.Radius, c.Radius)),
-- 
GitLab