diff options
author | Michael Copland <mjbcopland@gmail.com> | 2016-08-04 02:30:29 +0300 |
---|---|---|
committer | Michael Copland <mjbcopland@gmail.com> | 2016-08-04 02:30:29 +0300 |
commit | bd00ca04b299f33fe85349ac4590ae616825a743 (patch) | |
tree | 1e1b7eed9f4e6c9cf491d1aff1cc4ee0c7b4ad3a | |
parent | 2c48613e98d8b0db0b91d7d4d08168faafd45a62 (diff) |
Added const qualifier to lerp8 and lerp16 signatures as per #332
-rw-r--r-- | pixeltypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pixeltypes.h b/pixeltypes.h index fd20d256..075c7945 100644 --- a/pixeltypes.h +++ b/pixeltypes.h @@ -485,7 +485,7 @@ struct CRGB { } /// return a new CRGB object after performing a linear interpolation between this object and the passed in object - inline CRGB lerp8( const CRGB& other, fract8 frac) + inline CRGB lerp8( const CRGB& other, fract8 frac) const { CRGB ret; @@ -497,7 +497,7 @@ struct CRGB { } /// return a new CRGB object after performing a linear interpolation between this object and the passed in object - inline CRGB lerp16( const CRGB& other, fract16 frac) + inline CRGB lerp16( const CRGB& other, fract16 frac) const { CRGB ret; |