Unravel Engine C++ Reference
Loading...
Searching...
No Matches
seq_math.cpp File Reference
#include "seq_math.h"

Go to the source code of this file.

Namespaces

namespace  seq
 Provides a sequence-based action management system for controlling and scheduling actions.
 

Functions

auto seq::square (float x, int n) -> float
 Computes the square of a number raised to a power.
 
auto seq::flip (float x) -> float
 Flips a normalized value (1.0 becomes 0.0, 0.0 becomes 1.0).
 
auto seq::mix (float a, float b, float weight, float t) -> float
 Mixes two values based on a weighted progress factor.
 
auto seq::crossfade (float a, float b, float t) -> float
 Creates a crossfade effect between two values based on progress.
 
auto seq::scale (float a, float t) -> float
 Scales a value by a factor.
 
auto seq::reverse_scale (float a, float t) -> float
 Scales a value in reverse by a factor.
 
auto seq::arch (float t) -> float
 Computes an arch effect (parabolic curve) based on progress.