17.09.2020

+ Generic Scene
+ Generic Camera
+ Generic Window
+ Contexts for drawing and updateing

+ very basic 2D-implermention
This commit is contained in:
Michel Fedde 2020-09-17 21:28:16 +02:00
parent 9889366317
commit 589d131246
25 changed files with 383 additions and 78 deletions

View file

@ -4,15 +4,26 @@ 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)
{
GenericWindow window = new GenericWindow();
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 DrawEmpty());
}
}
}