Skip to content
Snippets Groups Projects
Commit a0bc569b authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

move terrain object so that 0,0,0 is roughly its center

parent 8c1d521e
No related branches found
No related tags found
Loading
......@@ -94,7 +94,7 @@ static fggl::ecs3::entity_t setupTerrain(fggl::ecs3::World& world, fggl::ecs3::T
world.add(terrain, types.find(fggl::math::Transform::name));
auto camTf = world.get<fggl::math::Transform>(terrain);
camTf->origin( glm::vec3(0.0f, 0.0f, 0.0f) );
camTf->origin( glm::vec3(-128.0f, 0.0f, 128.0f) );
//auto terrainData = m_world.get<fggl::data::HeightMap>(terrain);
fggl::data::HeightMap terrainData{};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment