aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/fadefilter.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-05-01 15:34:01 -0400
committerGravatar Mike Klein <mtklein@chromium.org>2017-05-01 20:59:45 +0000
commit879a08ac146acb2518363cc9d2d8aa6dce04528d (patch)
tree5c0c0370b00db7c26d12d4d89596f838cfc090c2 /gm/fadefilter.cpp
parent6ab223e0f0203225c9cf019b56561489027e4b0d (diff)
refactor hsl_to_rgb a touch
This rewrites the existing logic to expose more of the symmetries, and especially to make them clearly identical subexpressions. I think it's clear that the intent in hue_to_rgb is to wrap the t value back into 0-1... that's t = fract(t). No GM diffs. Change-Id: I9d62d8f80bcb45711ee334f953d3f6410e068ce4 Reviewed-on: https://skia-review.googlesource.com/14940 Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'gm/fadefilter.cpp')
0 files changed, 0 insertions, 0 deletions