mirror of https://github.com/odrling/Aegisub
Correct the example for path.map_coords
Originally committed to SVN as r1780.
This commit is contained in:
parent
7df5708f03
commit
753452b53f
|
@ -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.
|
the new x and y coordinates of the point.
|
||||||
|
|
||||||
Example: Produce a "wavy" effect.
|
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)
|
res = path.fold_coords(func, start)
|
||||||
|
|
Loading…
Reference in New Issue