commit | eb78972a41294d0b6ed47f3af3cac8a4b3988796 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Mon May 08 13:46:06 2023 -0400 |
committer | John Stiles <johnstiles@google.com> | Mon May 08 18:47:54 2023 +0000 |
tree | 6036d30da88743f60cf0bc8fde90261cd61b2bf8 | |
parent | 7736fbaf84f06057637538449a2a62f442fff378 [diff] |
Simplify Perlin noise chained-if block. We can use a single `step` rather than four separate if statements. Change-Id: I472f63d497e8e5d7d5b7f37766a8fce871f8cef4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/694620 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>