commit | 2b868d6b9aa3107adbbf65fbe5f7dccd45925fe8 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Thu Sep 09 10:34:13 2021 -0400 |
committer | Herb Derby <herb@google.com> | Fri Sep 10 18:51:51 2021 +0000 |
tree | 59761f3f19c8f2065984cd30b98c8a185cecc5d0 | |
parent | db38ad7b142e44aa4718d7c71d47f680d247cff0 [diff] |
math and error rates for lerp Study that compares scaled integer lerp to float lerp. This shows an error rate of 0.38% with a max difference of 1. Study to compare scaled values the would result as the intermediate values of a bilerp. This shows an error rate of 24% with a max difference of 1. Change-Id: Id27b6baa9ce56efedb30f490a3f84ccf808315fa Reviewed-on: https://skia-review.googlesource.com/c/skia/+/447183 Reviewed-by: Brian Osman <brianosman@google.com>