From 351b27c6b57a312c242c7161be1e3234c75228a7 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Fri, 18 Dec 2020 11:03:24 -0330 Subject: [PATCH] Some of the checkers don't like stray Unicode in ASCII files. --- src/common/PaletteHandler.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/PaletteHandler.cxx b/src/common/PaletteHandler.cxx index aa66f5985..22740c1f6 100644 --- a/src/common/PaletteHandler.cxx +++ b/src/common/PaletteHandler.cxx @@ -442,7 +442,7 @@ void PaletteHandler::generateCustomPalette(ConsoleTiming timing) if(timing == ConsoleTiming::ntsc) { vector2d IQ[NUM_CHROMA]; - // YIQ is YUV shifted by 33° + // YIQ is YUV shifted by 33 degrees constexpr float offset = 33 * BSPF::PI_f / 180; const float shift = myPhaseNTSC * BSPF::PI_f / 180; @@ -542,7 +542,7 @@ void PaletteHandler::generateCustomPalette(ConsoleTiming timing) void PaletteHandler::adjustHueSaturation(int& R, int& G, int& B, float H, float S) { // Adapted from http://beesbuzz.biz/code/16-hsv-color-transforms - // (C) J. “Fluffy” Shagam + // (C) J. Fluffy Shagam // License: CC BY-SA 4.0 const float su = S * cosf(-H * BSPF::PI_f); const float sw = S * sinf(-H * BSPF::PI_f);