Added a low poly brick model and changed their ingame scale
This commit is contained in:
@@ -55,7 +55,7 @@ void dd::Systems::LevelSystem::CreateBrick(int row, int line, glm::vec2 spacesBe
|
||||
model->ModelFile = "Models/Test/Brick/Brick.obj";
|
||||
float x = spaceToEdge + line * spacesBetweenBricks.x;
|
||||
float y = spaceToEdge + row * spacesBetweenBricks.y;
|
||||
transform->Scale = glm::vec3(1, 0.4, 0.2);
|
||||
transform->Scale = glm::vec3(1.6, 0.2, 0.5);
|
||||
transform->Position = glm::vec3(x - 7, y + 1, -10.f);
|
||||
//sprite->Color = glm::vec4(1.f, 1.f, 1.f, 1.f);
|
||||
m_World->CommitEntity(brick);
|
||||
|
||||
Reference in New Issue
Block a user