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

The standard Quad easing class. More...

#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

The standard Quad easing class.

Note
This easing class uses a power of two (2).

Definition at line 79 of file ActionTimingCurves.hpp.

Member Function Documentation

◆ ease_in()

NOM_EXPORT real32 nom::Quad::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::Quad::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::Quad::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: