Bricks are now models. Warning: Laggy

This commit is contained in:
tleety
2015-09-15 17:56:23 +02:00
parent ef9f6a296b
commit 4891a4d939
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ public:
{
auto t_Light = m_World->CreateEntity();
auto transform = m_World->AddComponent<Components::Transform>(t_Light);
transform->Position = glm::vec3(2.f, 1.5f, -10.f);
transform->Position = glm::vec3(2.f, 1.5f, -9.f);
auto pl = m_World->AddComponent<Components::PointLight>(t_Light);
pl->Radius = 8.f;
}
Regular → Executable
+1
View File
@@ -8,6 +8,7 @@
#include "Core/System.h"
#include "Core/CTransform.h"
#include "Rendering/CSprite.h"
#include "Rendering/CModel.h"
#include "Game/CBrick.h"
#include "Physics/EContact.h"
#include "Core/EventBroker.h"