nomlib
Loading...
Searching...
No Matches
nom::Expo Struct Reference

#include <ActionTimingCurves.hpp>

Static Public Member Functions

static NOM_EXPORT real32 ease_in (real32 t, real32 b, real32 c, real32 d)
static NOM_EXPORT real32 ease_out (real32 t, real32 b, real32 c, real32 d)
static NOM_EXPORT real32 ease_in_out (real32 t, real32 b, real32 c, real32 d)

Detailed Description

Note
This easing class uses a power of ten (10).

Definition at line 331 of file ActionTimingCurves.hpp.

Member Function Documentation

◆ ease_in()

NOM_EXPORT real32 nom::Expo::ease_in ( real32 t,
real32 b,
real32 c,
real32 d )
static
Parameters
tThe elapsed time.
bThe initial value to interpolate from.
cThe total change in value over time.
dThe total duration in time.
Remarks
The elapsed time and total duration time must be expressed in the same time units.

◆ ease_in_out()

NOM_EXPORT real32 nom::Expo::ease_in_out ( real32 t,
real32 b,
real32 c,
real32 d )
static
Parameters
tThe elapsed time.
bThe initial value to interpolate from.
cThe total change in value over time.
dThe total duration in time.
Remarks
The elapsed time and total duration time must be expressed in the same time units.

◆ ease_out()

NOM_EXPORT real32 nom::Expo::ease_out ( real32 t,
real32 b,
real32 c,
real32 d )
static
Parameters
tThe elapsed time.
bThe initial value to interpolate from.
cThe total change in value over time.
dThe total duration in time.
Remarks
The elapsed time and total duration time must be expressed in the same time units.

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