| 147 | } |
| 148 | |
| 149 | void hue_shift(fixed intensity, span<color> colors_ref) |
| 150 | { |
| 151 | BN_ASSERT(intensity >= 0 && intensity <= 1, "Invalid intensity: ", intensity); |
| 152 | |
| 153 | if(int value = fixed_t<5>(intensity).data()) |
| 154 | { |
| 155 | hw::palettes::hue_shift(colors_ref.data(), value, colors_ref.size(), colors_ref.data()); |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | void hue_shift(const span<const color>& source_colors_ref, fixed intensity, |
| 160 | span<color> destination_colors_ref) |
no test coverage detected