oriels/app/_Init.cs
2022-08-10 10:55:40 -04:00

23 lines
No EOL
503 B
C#

global using System;
global using StereoKit;
// global using Oriels;
SKSettings settings = new SKSettings {
appName = "oriels",
assetsFolder = "add",
depthMode = DepthMode.D32,
disableUnfocusedSleep = true,
// displayPreference = DisplayMode.Flatscreen,
};
if (!SK.Initialize(settings))
Environment.Exit(1);
Input.HandSolid(Handed.Max, false);
Input.HandVisible(Handed.Max, true);
Oriels.Mono mono = Oriels.Mono.inst;
mono.Init();
while (SK.Step(() => {
mono.Step();
}));
SK.Shutdown();