From 6dd25357bb1530792fc0301e205753e833be91b4 Mon Sep 17 00:00:00 2001 From: sippeangelo Date: Tue, 13 May 2014 05:13:28 +0200 Subject: [PATCH] FINAL --- src/GameWorld.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/GameWorld.cpp b/src/GameWorld.cpp index 8ba9083..85e55d5 100755 --- a/src/GameWorld.cpp +++ b/src/GameWorld.cpp @@ -120,8 +120,10 @@ void GameWorld::Initialize() { auto groundshape = CreateEntity(container); auto transformshape = AddComponent(groundshape, "Transform"); - auto meshShape = AddComponent(groundshape, "MeshShape"); - meshShape->ResourceName = "Models/Container/Container.OBJ"; + auto boxShape = AddComponent(groundshape, "BoxShape"); + boxShape->Width = 3.0f; + boxShape->Height = 3.0f; + boxShape->Depth = 6.6f; CommitEntity(groundshape); }