diff --git a/Source/Visuals/Extensions/ControlExtensions.cs b/Source/Visuals/Extensions/ResourceExtensions.cs similarity index 100% rename from Source/Visuals/Extensions/ControlExtensions.cs rename to Source/Visuals/Extensions/ResourceExtensions.cs diff --git a/Source/Visuals/Extensions/Vector3Extensions.cs b/Source/Visuals/Extensions/Vector3Extensions.cs index 9963dac..e986720 100644 --- a/Source/Visuals/Extensions/Vector3Extensions.cs +++ b/Source/Visuals/Extensions/Vector3Extensions.cs @@ -1,23 +1,27 @@ using System; using Godot; -namespace GoDough.Visuals.Extensions { - public static class Vector3Extensions { +namespace GoDough.Visuals.Extensions +{ + public static class Vector3Extensions + { public static Vector3 CopyWith( this Vector3 source, - Nullable x, + Nullable x = null, Nullable y = null, - Nullable z = null) { + Nullable z = null) + { return new Vector3( x ?? source.X, y ?? source.Y, z ?? source.Z); } - public static Vector3 Copy( - this Vector3 source) { - return source.CopyWith(null); + public static Vector3 Copy( + this Vector3 source) + { + return source.CopyWith(); } } } \ No newline at end of file