mirror of https://github.com/stella-emu/stella.git
Some of the checkers don't like stray Unicode in ASCII files.
This commit is contained in:
parent
7a67f2e6d4
commit
351b27c6b5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue