26 lines
710 B
C#
26 lines
710 B
C#
using OpenTK.Windowing.Common;
|
|
using OpenTK.Windowing.Desktop;
|
|
|
|
namespace fluidsC_;
|
|
|
|
public static class Program
|
|
{
|
|
public static void Main()
|
|
{
|
|
var settings = GameWindowSettings.Default;
|
|
var nativeSettings = new NativeWindowSettings()
|
|
{
|
|
Size = new OpenTK.Mathematics.Vector2i(1200, 800),
|
|
Title = "GPU Fluid Simulation - FIXED",
|
|
Flags = ContextFlags.ForwardCompatible,
|
|
Profile = ContextProfile.Core,
|
|
API = ContextAPI.OpenGL,
|
|
APIVersion = new System.Version(4, 3)
|
|
};
|
|
|
|
using (var window = new FluidWindow3D_GPU(settings, nativeSettings))
|
|
{
|
|
window.Run();
|
|
}
|
|
}
|
|
} |