Fixed uninitialized struct

This commit is contained in:
Simon Lübeß
2025-10-22 20:00:04 +02:00
parent 986ffeade0
commit 419ed7c9d2
+1
View File
@@ -147,6 +147,7 @@ namespace GlitchyEngine.World
public this(float3 position, Quaternion rotation, float fovY, float nearPlane, float aspectRatio)
{
this = default;
_position = position;
_rotation = rotation;
_fovY = fovY;