17 lines
426 B
C#
17 lines
426 B
C#
using OpenTK.Mathematics;
|
|
using OpenTK.Windowing.Common;
|
|
using OpenTK.Windowing.Desktop;
|
|
using VoxelEngine.Core;
|
|
|
|
NativeWindowSettings nativeSettings = new()
|
|
{
|
|
ClientSize = new Vector2i(1280, 720),
|
|
Title = "VoxelEngine",
|
|
APIVersion = new Version(3, 3),
|
|
Profile = ContextProfile.Core,
|
|
Flags = ContextFlags.ForwardCompatible
|
|
};
|
|
|
|
using Game game = new(GameWindowSettings.Default, nativeSettings);
|
|
game.Run();
|