2025-11-13 17:13:54 +00:00

25 lines
712 B
C#

using OpenTK.Mathematics;
using OpenTK.Windowing.Desktop;
using System;
namespace TheLabs
{
public static class Program
{
public static void Main()
{
var nativeWindowSettings = new NativeWindowSettings
{
Size = new Vector2i(1920, 1080),
Title = "My OpenTK Example Program"
};
MyVector myVector = new MyVector(30, 40, 0);
Console.WriteLine(myVector.Magnitude());
using (var window = new MyExampleWindow(GameWindowSettings.Default,
nativeWindowSettings))
{
window.Run();
}
}
}
}