Vehicle selection!

This commit is contained in:
2014-05-31 03:45:37 +02:00
parent 55db057e50
commit a6906886f5
12 changed files with 206 additions and 24 deletions
+6
View File
@@ -48,6 +48,11 @@ public:
m_Viewport = viewport;
}
void SetScissor(const Rectangle &scissor)
{
m_Scissor = scissor;
}
void SetCamera(std::shared_ptr<Camera> camera)
{
m_Camera = camera;
@@ -109,6 +114,7 @@ private:
std::unordered_map<int, std::shared_ptr<Camera>> m_Cameras;
Rectangle m_Viewport;
Rectangle m_Scissor;
std::shared_ptr<Camera> m_Camera;
struct Light