DoopelPonger
Static Public Member Functions | List of all members
SmoothingUtils Class Reference

Collection of functions that perform smoothing functions. More...

Static Public Member Functions

static float SmoothStart (float from, float to, float t)
 
static float SmoothStop (float from, float to, float t)
 

Detailed Description

Collection of functions that perform smoothing functions.

Member Function Documentation

◆ SmoothStart()

static float SmoothingUtils.SmoothStart ( float  from,
float  to,
float  t 
)
static
Parameters
fromStarting value.
toEnding value.
tTime between 0 and 1.
Returns
A smoothed value from 0 to .5 and a liner value from .5 to 1.

◆ SmoothStop()

static float SmoothingUtils.SmoothStop ( float  from,
float  to,
float  t 
)
static
Parameters
fromStarting value.
toEnding value.
tTime between 0 and 1.
Returns
A linear value from 0 to .5 and a smoothed value from .5 to 1.

The documentation for this class was generated from the following file: