group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
HudTween.hpp File Reference

Lightweight fixed-pool tween engine for HUD animations. More...

#include <cstdint>
Include dependency graph for HudTween.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HudTweenEntry
 One active interpolation targeting a float. More...
class  HudTweenPool
 Fixed-size tween pool. No heap allocations. More...

Typedefs

using HudEaseFn = float (*)(float t)
 Easing function signature: maps t ∈ [0,1] → [0,1].

Functions

float easeLinear (float t)
float easeInQuad (float t)
float easeOutQuad (float t)
float easeInOutQuad (float t)
float easeOutBack (float t)
float easeOutElastic (float t)

Detailed Description

Lightweight fixed-pool tween engine for HUD animations.

Typedef Documentation

◆ HudEaseFn

using HudEaseFn = float (*)(float t)

Easing function signature: maps t ∈ [0,1] → [0,1].

Function Documentation

◆ easeInOutQuad()

float easeInOutQuad ( float t)

◆ easeInQuad()

float easeInQuad ( float t)
Here is the caller graph for this function:

◆ easeLinear()

float easeLinear ( float t)
Here is the caller graph for this function:

◆ easeOutBack()

float easeOutBack ( float t)
Here is the caller graph for this function:

◆ easeOutElastic()

float easeOutElastic ( float t)

◆ easeOutQuad()

float easeOutQuad ( float t)
Here is the caller graph for this function: