From 3f734cf1eb86fef82c7390df003124565b8a84c6 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sun, 16 Jul 2023 15:07:41 -0400 Subject: initial draft of variable-width font handling --- util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util.h') diff --git a/util.h b/util.h index 9fb078c..15181bc 100644 --- a/util.h +++ b/util.h @@ -138,6 +138,7 @@ float radians(float r); float lerpf(float x, float a, float b); float normf(float x, float a, float b); float clampf(float x, float a, float b); +double clampd(double x, double a, double b); int clampi(int x, int a, int b); i16 clamp_i16(i16 x, i16 a, i16 b); u16 clamp_u16(u16 x, u16 a, u16 b); -- cgit v1.2.3