Skip to content

Commit

Permalink
modify flower placement to be more logical
Browse files Browse the repository at this point in the history
  • Loading branch information
ksadi3 committed Jan 2, 2024
1 parent 50748e5 commit 967087a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/scenes/TestSceneKevin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ namespace lei3d
backpackModel = std::make_unique<Model>(backpackPath);

const std::string physicsPlaygroundPath = "data/models/environment/level_disassociate_2.gltf";
// const std::string physicsPlaygroundPath = "data/models/environment/level_7_colors.gltf";

if (playgroundModel)
{
playgroundModel.reset();
Expand Down Expand Up @@ -434,7 +436,7 @@ namespace lei3d
ModelInstance* flowerRender2 = flowerObj2.AddComponent<ModelInstance>();
flowerRender2->Init(m_EnviromentModels["flower"].get());
flowerObj2.SetScale(glm::vec3(2.4f, 2.4f, 2.4f));
flowerObj2.SetPosition(glm::vec3(0.0f, 0.0f, 0.0f));
flowerObj2.SetPosition(glm::vec3(-91.5f, -233.6f, -467.0f));
ColorSource* startSrc2 = flowerObj2.AddComponent<ColorSource>();
startSrc2->Init(5, 10, true);
StaticCollider* flowerCollider2 = flowerObj2.AddComponent<StaticCollider>();
Expand Down

0 comments on commit 967087a

Please sign in to comment.