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

The standard Quart 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 Quart easing class.

Note
This easing class uses a power of four (4).

Definition at line 144 of file ActionTimingCurves.hpp.

Member Function Documentation

◆ ease_in()

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