Transform.Scale

This commit is contained in:
2014-03-13 01:32:09 +01:00
parent 21b2e3bdc1
commit 99e1b4f8d6
5 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -87,10 +87,10 @@ void GameWorld::Initialize()
m_Player = CreateEntity();
transform = AddComponent<Components::Transform>(m_Player, "Transform");
transform->Position = glm::vec3(0.f, 4.f, 0.f);
transform->Scale = glm::vec3(2.0f);
model = AddComponent<Components::Model>(m_Player, "Model");
model->ModelFile = "ship.obj";
auto bounds = AddComponent<Components::Bounds>(m_Player, "Bounds");
bounds->Origin = glm::vec3(0.f);
bounds->VolumeVector = glm::vec3(1.0f, 2.0f, 3.0f);
ent = CreateEntity();