public static async Task LoadVRAsync()
        {
            VSyncMode vsync;
            StreetViewer3DApplication app;

#if VSYNC_OFF
            vsync = VSyncMode.Off;
#else
            vsync = VSyncMode.On;
#endif

            await Task.Run(() =>
            {
                app       = new StreetViewer3DApplication(vsync, Resolution.Size800x600, new GraphicsMode(32, 16, 0, 4));
                app.Title = "Initilising..";
#if VSYNC_OFF
                app.Run();
#else
                app.Run(60);
#endif
            });
        }
Пример #2
0
 public static void Main(string[] args)
 {
     StreetViewer3DApplication.LoadVR();
 }