Camera stack

This commit is contained in:
Matt Thorson
2020-06-14 17:56:16 -07:00
parent 272ec43e69
commit 5fdc34c610
3 changed files with 23 additions and 2 deletions

View File

@ -205,7 +205,11 @@ namespace Strawberry
public virtual void Draw()
{
if (Scene != null)
{
Draw.PushCamera(Scene.Camera.Round());
Scene.Draw();
Draw.PopCamera();
}
if (Console.Enabled)
Strawberry.Console.Draw();