style: apply code-style cleanup (explicit types, this-qualification, switch expressions)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user