17 lines
432 B
C#
17 lines
432 B
C#
using OpenTK.Mathematics;
|
|
using OpenTK.Windowing.Common;
|
|
using OpenTK.Windowing.Desktop;
|
|
using VoxelEngine.Core;
|
|
|
|
var nativeSettings = new NativeWindowSettings
|
|
{
|
|
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();
|