Mise à jour du dépôt en fonction du .gitignore
This commit is contained in:
parent
1f0f033fad
commit
4a59748e67
224 changed files with 6785 additions and 0 deletions
20
Map3DRendering/Program.cs
Normal file
20
Map3DRendering/Program.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using OpenTK.Mathematics;
|
||||
using OpenTK.Windowing.Common;
|
||||
using OpenTK.Windowing.Desktop;
|
||||
|
||||
namespace Map3DRendering {
|
||||
public static class Program {
|
||||
private static void Main() {
|
||||
var nativeWindowSettings = new NativeWindowSettings() {
|
||||
Size = new Vector2i(800, 600),
|
||||
Title = "LearnOpenTK - Map AC2",
|
||||
// This is needed to run on macos
|
||||
Flags = ContextFlags.ForwardCompatible,
|
||||
};
|
||||
|
||||
using (var window = new Window(GameWindowSettings.Default, nativeWindowSettings)) {
|
||||
window.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue