diff options
author | Mark Kriegsman <kriegsman@tr.org> | 2017-05-28 14:52:34 +0300 |
---|---|---|
committer | Mark Kriegsman <kriegsman@tr.org> | 2017-05-28 14:52:34 +0300 |
commit | f1a3a82957da40e221015bad0e2e9a3d52edb02f (patch) | |
tree | f8e1270dcb78fc26255a067484a58ddd51708063 | |
parent | 06a5abcf1fa65115adb42a79e112a34e6c8ff5a7 (diff) |
Update ease8InOutQuad for 'fixed' scale8.
-rw-r--r-- | lib8tion.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -582,7 +582,7 @@ LIB8STATIC uint8_t ease8InOutQuad( uint8_t i) if( j & 0x80 ) { j = 255 - j; } - uint8_t jj = scale8( j, (j+1)); + uint8_t jj = scale8( j, j); uint8_t jj2 = jj << 1; if( i & 0x80 ) { jj2 = 255 - jj2; |