From 729c7341c46285e4998c8de86c43db42a0de4fe0 Mon Sep 17 00:00:00 2001 From: kalilistic <35899782+kalilistic@users.noreply.github.com> Date: Sun, 26 Feb 2023 14:05:56 -0500 Subject: [PATCH] fix: change param name for consistency --- Dalamud/Utility/Numerics/VectorExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud/Utility/Numerics/VectorExtensions.cs b/Dalamud/Utility/Numerics/VectorExtensions.cs index 23c21001a..cd958deb8 100644 --- a/Dalamud/Utility/Numerics/VectorExtensions.cs +++ b/Dalamud/Utility/Numerics/VectorExtensions.cs @@ -55,8 +55,8 @@ public static class VectorExtensions return new Vector2(v.X, y); } - public static ByteColor ToByteColor(this Vector4 value) + public static ByteColor ToByteColor(this Vector4 v) { - return new ByteColor { A = (byte)(value.W * 255), R = (byte)(value.X * 255), G = (byte)(value.Y * 255), B = (byte)(value.Z * 255) }; + return new ByteColor { A = (byte)(v.W * 255), R = (byte)(v.X * 255), G = (byte)(v.Y * 255), B = (byte)(v.Z * 255) }; } }