style: apply code-style cleanup (explicit types, this-qualification, switch expressions)

This commit is contained in:
2026-05-28 13:29:13 +02:00
parent 8e3195ca37
commit 70c986529b
9 changed files with 110 additions and 102 deletions

View File

@@ -3,7 +3,7 @@ using OpenTK.Windowing.Common;
using OpenTK.Windowing.Desktop;
using VoxelEngine.Core;
var nativeSettings = new NativeWindowSettings
NativeWindowSettings nativeSettings = new()
{
ClientSize = new Vector2i(1280, 720),
Title = "VoxelEngine",
@@ -12,5 +12,5 @@ var nativeSettings = new NativeWindowSettings
Flags = ContextFlags.ForwardCompatible
};
using var game = new Game(GameWindowSettings.Default, nativeSettings);
using Game game = new(GameWindowSettings.Default, nativeSettings);
game.Run();