Add Color record struct, small refactor, create a DaggerFramework.SceneGraph namespace.

This commit is contained in:
2023-06-16 00:03:45 +02:00
parent 964b903500
commit 7d5c5f822b
25 changed files with 217 additions and 111 deletions

View File

@@ -27,7 +27,9 @@ public class TestGame : Game
while (_renderer.ShouldRun)
{
_renderer.BeginFrame();
_renderer.ClearBackground(System.Drawing.Color.Black);
_renderer.ClearBackground(Color.Black);
_renderer.SetTransform(new Vector2(640, 480));
_renderer.DrawCircle(16f, Color.Chocolate);
_renderer.EndFrame();
}
}