forked from mia/Aegisub
Correct the example for path.map_coords
Originally committed to SVN as r1780.
This commit is contained in:
parent
7df5708f03
commit
753452b53f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue