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); }