Correct the example for path.map_coords

Originally committed to SVN as r1780.
This commit is contained in:
Niels Martin Hansen 2008-01-19 16:48:24 +00:00
parent 7df5708f03
commit 753452b53f
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ are the x and y coordinates of the point and returns two numbers which are
the new x and y coordinates of the point.
Example: Produce a "wavy" effect.
path.map_coords(function(x,y) return math.sin(x), math.cos(y) end)
path.map_coords(function(x,y) return x+math.sin(x), y+math.cos(y) end)
res = path.fold_coords(func, start)