diff --git a/code/point.lua b/code/point.lua index 307566b..aef9aa0 100644 --- a/code/point.lua +++ b/code/point.lua @@ -28,3 +28,6 @@ function Point:abs() return math.sqrt(self.x ^ 2 + self.y ^ 2) end +function Point:__tostring() + return "("..self.x..","..self.y..")" +end