Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
Loading...
Searching...
No Matches
DekiMath.h File Reference

Namespaces

namespace  DekiMath

Functions

float DekiMath::Clamp (float v, float lo, float hi)
float DekiMath::Min (float a, float b)
float DekiMath::Max (float a, float b)
float DekiMath::Abs (float v)
float DekiMath::Lerp (float a, float b, float t)

Variables

constexpr float DekiMath::kPi = 3.14159265358979323846f
constexpr float DekiMath::kTwoPi = 2.0f * kPi
constexpr float DekiMath::kHalfPi = 0.5f * kPi
constexpr float DekiMath::kDegToRad = kPi / 180.0f
constexpr float DekiMath::kRadToDeg = 180.0f / kPi