mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: change param name for consistency
This commit is contained in:
parent
39ca25bbb2
commit
729c7341c4
1 changed files with 2 additions and 2 deletions
|
|
@ -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) };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue