From ad27749f7566a4a2a0cd19811f50174b24755cb8 Mon Sep 17 00:00:00 2001 From: Brenton Bostick Date: Thu, 19 Mar 2026 16:42:52 -0400 Subject: [PATCH] fix typos --- implot_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implot_internal.h b/implot_internal.h index da49cedb..668d1603 100644 --- a/implot_internal.h +++ b/implot_internal.h @@ -118,7 +118,7 @@ static inline void ImFlipFlag(TSet& set, TFlag flag) { ImHasFlag(set, flag) ? se // Linearly remaps x from [x0 x1] to [y0 y1]. template static inline T ImRemap(T x, T x0, T x1, T y0, T y1) { return y0 + (x - x0) * (y1 - y0) / (x1 - x0); } -// Linear rempas x from [x0 x1] to [0 1] +// Linearly remaps x from [x0 x1] to [0 1] template static inline T ImRemap01(T x, T x0, T x1) { return (x - x0) / (x1 - x0); } // Returns always positive modulo (assumes r != 0)