mirror of
https://github.com/vrld/hump.git
synced 2024-11-23 12:24:19 +00:00
Fix erroneous example in timer.rst
This commit is contained in:
parent
945423f9f5
commit
3e439ee2db
@ -470,7 +470,7 @@ You can add custom interpolation methods by adding them to the `tween` table::
|
|||||||
Access the your method like you would the predefined ones. You can even use the
|
Access the your method like you would the predefined ones. You can even use the
|
||||||
modyfing prefixes::
|
modyfing prefixes::
|
||||||
|
|
||||||
Timer.tween(5, 'in-out-sqrt', circle, {radius = 50})
|
Timer.tween(5, circle, {radius = 50}, 'in-out-sqrt')
|
||||||
|
|
||||||
You can also invert and chain functions::
|
You can also invert and chain functions::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user