diff --git a/geometry.go b/geometry.go index 5a60a1b..b332f25 100644 --- a/geometry.go +++ b/geometry.go @@ -273,7 +273,7 @@ func (l Line) Closest(v Vec) Vec { return V(x, y) } -// Contains returns whether the provided Vec lies on the line +// Contains returns whether the provided Vec lies on the line. func (l Line) Contains(v Vec) bool { return l.Closest(v) == v }