Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
karnkaul committed Jun 25, 2024
1 parent 41fe365 commit 2436fa9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/spaced/spaced/game/star_field.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,5 @@ class StarField : public bave::IDrawable {
bave::NotNull<Layout const*> m_layout;

std::vector<Field> m_fields{};
bave::Seconds m_next_spawn{};
};
} // namespace spaced
1 change: 0 additions & 1 deletion src/spaced/spaced/spaced.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ void Spaced::set_layout() {
static constexpr auto world_space_v = glm::vec2{1920.0f, 1080.0f};

auto layout = std::make_unique<Layout>(&get_app().get_render_device());
m_layout = layout.get();
auto& world_space = m_services.get<Display>().world;
world_space.render_view.viewport = world_space.get_viewport_scaler().match_width(world_space_v);

Expand Down
2 changes: 0 additions & 2 deletions src/spaced/spaced/spaced.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ class Spaced : public bave::GameDriver {
void set_scene();

bave::Logger m_log{"Spaced"};
bave::Ptr<bave::Resources> m_resources{};
bave::Ptr<Layout> m_layout{};
};
} // namespace spaced

0 comments on commit 2436fa9

Please sign in to comment.