Split screen working
This commit is contained in:
@@ -14,7 +14,6 @@ struct Camera : Component
|
||||
, NearClip(0.1f)
|
||||
, FarClip(100.f) { }
|
||||
|
||||
EntityID Viewport;
|
||||
float FOV;
|
||||
float NearClip;
|
||||
float FarClip;
|
||||
|
||||
@@ -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); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user