feat: wire game window, render loop, and fly-camera input

This commit is contained in:
2026-05-28 12:22:19 +02:00
parent 7155ea7425
commit 177c47e8f8
2 changed files with 124 additions and 9 deletions

View File

@@ -1,11 +1,16 @@
using OpenTK;
using OpenTK.Mathematics;
using OpenTK.Windowing.Common;
using OpenTK.Windowing.Desktop;
using VoxelEngine.Core;
namespace VoxelEngine;
class Program
var nativeSettings = new NativeWindowSettings
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
ClientSize = new Vector2i(1280, 720),
Title = "VoxelEngine",
APIVersion = new Version(3, 3),
Profile = ContextProfile.Core,
Flags = ContextFlags.ForwardCompatible
};
using var game = new Game(GameWindowSettings.Default, nativeSettings);
game.Run();