Merge pull request #205 from faiface/revert-203-comments-errors

Revert "Fixed a couple of errors in methods comments"
This commit is contained in:
Michal Štrba 2019-11-06 00:46:39 +01:00 committed by GitHub
commit 87299dc29b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -841,7 +841,7 @@ func (c Circle) Intersect(d Circle) Circle {
}
}
// IntersectLine will return the shortest Vec such that if the Circle is moved by the Vec returned, the Line and Rect no
// IntersectLine will return the shortest Vec such that if the Rect is moved by the Vec returned, the Line and Rect no
// longer intersect.
func (c Circle) IntersectLine(l Line) Vec {
return l.IntersectCircle(c).Scaled(-1)