From f9361c90363dc7d6a817b42677fdb065de7b700b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 21 Jan 2006 07:26:20 +0000 Subject: [PATCH] interp -> lerp ("interp" doesn't imply linear) --- stepmania/src/RageUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageUtil.h b/stepmania/src/RageUtil.h index 596ecce5ec..ec4a73f7a9 100644 --- a/stepmania/src/RageUtil.h +++ b/stepmania/src/RageUtil.h @@ -33,7 +33,7 @@ inline unsigned long max( unsigned long a, unsigned int b ) { return a > b? a:b; // Like SCALE(x, 0, 1, L, H); interpolate between L and H. template -inline U interp( T x, U l, U h ) +inline U lerp( T x, U l, U h ) { return U(x * (h - l) + l); }