mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01:37 +00:00
Tween migrated (final)
Forgot to update a few stuff in my precedent commit. Everything is good now.
This commit is contained in:
parent
49744ea1c8
commit
92061e8368
3 changed files with 18 additions and 7 deletions
|
|
@ -1,5 +1,4 @@
|
|||
local vide = require "../../vide"
|
||||
local easings = require "../src/easings"
|
||||
|
||||
local function system(): (number) -> number
|
||||
local MAX = 40
|
||||
|
|
@ -7,7 +6,7 @@ local function system(): (number) -> number
|
|||
|
||||
local _, input, output = vide.root(function()
|
||||
local input = vide.source(MAX)
|
||||
local output = vide.tween(input, { time = 2, style = easings.quad_ease_inout })
|
||||
local output = vide.tween(input, { time = 2, style = "quad_ease_inout" })
|
||||
return input, output
|
||||
end)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue