diff options
| author | 2lag <96544487+2lag@users.noreply.github.com> | 2026-08-08 17:33:36 +0200 |
|---|---|---|
| committer | 2lag <96544487+2lag@users.noreply.github.com> | 2026-08-08 17:33:36 +0200 |
| commit | 2973df584978d9aae6f164ce0204179c8a28b3ae (patch) | |
| tree | c1b793c8e0d17aeb66c5197bc28acca84b2c98ab /src/util/anim.h | |
| parent | e540910745aad31378452eec25aacfb3f346191a (diff) | |
console, textbox changes, some other shit
Diffstat (limited to 'src/util/anim.h')
| -rw-r--r-- | src/util/anim.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/anim.h b/src/util/anim.h index dbc2c11..4c314d9 100644 --- a/src/util/anim.h +++ b/src/util/anim.h @@ -9,8 +9,8 @@ inline T lerp( T a, T b, F32 t ) { template < typename t > inline t clamp( t a, t min, t max ) { - if ( a < min ) return min; - if ( a > max ) return max; + if( a < min ) return min; + if( a > max ) return max; return a; } |
