From cf1f2a9a7b03f76d68d07000136d7df10d077cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Sat, 30 Nov 2024 16:20:29 +0100 Subject: [PATCH] Emit parameterless constructor for vectors --- GlitchyEngine/src/Math/VectorAttribute.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GlitchyEngine/src/Math/VectorAttribute.bf b/GlitchyEngine/src/Math/VectorAttribute.bf index aad3d54..7c0503d 100644 --- a/GlitchyEngine/src/Math/VectorAttribute.bf +++ b/GlitchyEngine/src/Math/VectorAttribute.bf @@ -80,7 +80,7 @@ struct VectorAttribute : Attribute, IComptimeTypeApply where private void GenerateConstructors(Type type) { // Default constructor - //Compiler.EmitTypeBody(type, "public this() => this = default;\n\n"); + Compiler.EmitTypeBody(type, "public this() => this = default;\n\n"); // Single constructor GenerateSingleConstructor(type);