A game framework written with osu! in mind.

Explicitly mention interpolation accepts sRGB colours

+6
+6
osu.Framework/Utils/Interpolation.cs
··· 226 226 public static SRGBColour ValueAt(double time, SRGBColour startColour, SRGBColour endColour, double startTime, double endTime, in TEasing easing) 227 227 => ValueAt(time, (Color4)startColour, (Color4)endColour, startTime, endTime, easing); 228 228 229 + /// <summary> 230 + /// Interpolates between two sRGB <see cref="Color4"/>s in a linear (gamma-correct) RGB space. 231 + /// </summary> 232 + /// <remarks> 233 + /// For more information regarding linear interpolation, see https://blog.johnnovak.net/2016/09/21/what-every-coder-should-know-about-gamma/#gradients. 234 + /// </remarks> 229 235 public static Color4 ValueAt(double time, Color4 startColour, Color4 endColour, double startTime, double endTime, in TEasing easing) 230 236 { 231 237 if (startColour == endColour)