Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorAnimation::Interpolate< qreal > Struct Reference

#include <phosphor-animation/include/PhosphorAnimation/Interpolate.h>

Static Public Member Functions

static qreal lerp (qreal from, qreal to, qreal t)
 
static qreal distance (qreal from, qreal to)
 
static bool isFinite (qreal v)
 

Static Public Attributes

static constexpr qreal retargetEpsilon = 1.0e-6
 

Member Function Documentation

◆ distance()

static qreal PhosphorAnimation::Interpolate< qreal >::distance ( qreal  from,
qreal  to 
)
inlinestatic

◆ isFinite()

static bool PhosphorAnimation::Interpolate< qreal >::isFinite ( qreal  v)
inlinestatic

◆ lerp()

static qreal PhosphorAnimation::Interpolate< qreal >::lerp ( qreal  from,
qreal  to,
qreal  t 
)
inlinestatic

Member Data Documentation

◆ retargetEpsilon

constexpr qreal PhosphorAnimation::Interpolate< qreal >::retargetEpsilon = 1.0e-6
staticconstexpr

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