Split screen working

This commit is contained in:
2014-05-19 17:20:43 +02:00
parent e07a0a2b1a
commit bd7ba73bca
7 changed files with 184 additions and 115 deletions
+4 -1
View File
@@ -12,13 +12,16 @@ struct Viewport : Component
: Left(0.f)
, Top(0.f)
, Right(1.f)
, Bottom(1.f) { }
, Bottom(1.f)
, Camera(0) { }
float Left;
float Top;
float Right;
float Bottom;
EntityID Camera;
virtual Viewport* Clone() const override { return new Viewport(*this); }
};