INNER CODE UNIT · C#

it

endlesstravel/Love2dCS · csharp_src/Love.Color.cs:181

            float it = 1 - t;
            return new Color(
                it * a.Rf + t * b.Rf,
                it * a.Gf + t * b.Gf,
                it * a.Bf + t * b.Bf,
                it * a.Af + t * b.Af
                );
        }

    }

    public partial struct Color
    {
        public static Color FromRGBA(uint value)
        {
            var c = new Color();
            c.SetAsRGBA(value);
            return c;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…