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

The standard Cubic easing class. More...

#include <ActionTimingCurves.hpp>

Static Public Member Functions

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

Detailed Description

The standard Cubic easing class.

Note
This easing class uses a power of three (3).

Definition at line 111 of file ActionTimingCurves.hpp.

Member Function Documentation

◆ ease_in()

real32 nom::Cubic::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()

real32 nom::Cubic::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()

real32 nom::Cubic::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: