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

#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()

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

◆ isFinite()

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

◆ lerp()

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

Member Data Documentation

◆ retargetEpsilon

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

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