smrendererv3/SM_TEST/Program.cs
Michel Fedde a603ecc417 18.09.2020
+ Textures
~ Changed 2D coordnate system to lower right as XY+
2020-09-19 15:04:04 +02:00

30 lines
686 B
C#

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SM.Base;
using SM2D;
using SM2D.Drawing;
using SM2D.Scene;
namespace SM_TEST
{
class Program
{
static Scene scene;
static void Main(string[] args)
{
GLWindow2D window = new GLWindow2D();
window.SetScene(scene = new Scene());
window.Load += WindowOnLoad;
window.Run();
}
private static void WindowOnLoad(object sender, EventArgs e)
{
scene.Objects.Add(new DrawTexture(new Bitmap("draconier_logo.png")));
}
}
}