Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions lua/starfall/libs_sh/math.lua
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,18 @@ math_library.easeOutCubic = math.ease.OutCubic
-- @return number "Eased" Value
math_library.easeOutElastic = math.ease.OutElastic

--- Eases out using an exponential equation with a base of 2 and where the fraction is used in the exponent.
-- @class function
-- @param number fraction Fraction of the progress to ease, from 0 to 1
-- @return number "Eased" Value
math_library.easeOutExpo = math.ease.OutExpo

--- Eases out like a rubber band.
-- @class function
-- @param number fraction Fraction of the progress to ease, from 0 to 1
-- @return number "Eased" Value
math_library.easeOutQuad = math.ease.OutQuad

--- Eases out by raising the fraction to the power of 4.
-- @class function
-- @param number fraction Fraction of the progress to ease, from 0 to 1
Expand Down
Loading