Garry's Mod Wiki

math.ease.InOutExpo

  number math.ease.InOutExpo( number fraction )

Description

Eases in and out using an exponential equation with a base of 2 and where the fraction is used in the exponent.

Arguments

1 number fraction
Fraction of the progress to ease, from 0 to 1

Returns

1 number
"Eased" Value, from 0 to 1