doc: Fix a matrix copy paste mistake

This commit is contained in:
Emmanuel Lepage Vallee 2016-07-22 21:55:23 -04:00
parent e6ddffda38
commit 2e827202ec
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ end
-- @tparam number x The x coordinate of the point. -- @tparam number x The x coordinate of the point.
-- @tparam number y The y coordinate of the point. -- @tparam number y The y coordinate of the point.
-- @treturn number The x coordinate of the transformed point. -- @treturn number The x coordinate of the transformed point.
-- @treturn number The x coordinate of the transformed point. -- @treturn number The y coordinate of the transformed point.
function matrix:transform_point(x, y) function matrix:transform_point(x, y)
x, y = self:transform_distance(x, y) x, y = self:transform_distance(x, y)
return self.x0 + x, self.y0 + y return self.x0 + x, self.y0 + y