Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics/imgui #47

Merged
merged 107 commits into from
Jul 27, 2023
Merged

Graphics/imgui #47

merged 107 commits into from
Jul 27, 2023

Conversation

AlemSnyder
Copy link
Owner

No description provided.

@egelja
Copy link
Collaborator

egelja commented Jul 5, 2023

Clang-format everything first

make_stars.py Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@egelja egelja self-requested a review July 23, 2023 15:10
Copy link
Collaborator

@egelja egelja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, code is getting much cleaner. Other than the review comments, here are a couple little things I'd like changed

  • The function Mesh::generate_mesh is 161 LOC, with a cyclomatic complexity of 21. Most linters warn when you get to 10. It would be good to refactor that function into multiple smaller ones. Refactoring #50
  • ui::imguiTest is too long. While it isn't complex, its hard to follow. Would be nicer if you broke it up into multiple functions.

make_stars.py Outdated Show resolved Hide resolved
resources/shaders/ShadowMappingInstanced.vert Outdated Show resolved Hide resolved
resources/shaders/SimpleTexture.frag Outdated Show resolved Hide resolved
resources/shaders/SimpleTextureMS.frag Outdated Show resolved Hide resolved
resources/shaders/SimpleTextureMS.frag Outdated Show resolved Hide resolved
src/gui/ui/main_ui.hpp Outdated Show resolved Hide resolved
src/logging.cpp Outdated Show resolved Hide resolved
src/logging.cpp Outdated Show resolved Hide resolved
src/terrain/path/tile_iterators.hpp Outdated Show resolved Hide resolved
src/terrain/terrain.cpp Outdated Show resolved Hide resolved
src/entity/mesh.hpp Outdated Show resolved Hide resolved
src/gui/data_structures/frame_buffer_multisample.cpp Outdated Show resolved Hide resolved
src/gui/handler.cpp Show resolved Hide resolved
src/gui/render/quad_renderer.cpp Outdated Show resolved Hide resolved
src/gui/render/renderer.cpp Outdated Show resolved Hide resolved
src/gui/scene/main_gui.cpp Outdated Show resolved Hide resolved
src/gui/scene/scene.cpp Outdated Show resolved Hide resolved
src/main.cpp Outdated Show resolved Hide resolved
src/terrain/terrain.cpp Outdated Show resolved Hide resolved
src/terrain/terrain.cpp Show resolved Hide resolved
Copy link
Collaborator

@egelja egelja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTFM

@AlemSnyder AlemSnyder merged commit 959dcf8 into main Jul 27, 2023
@AlemSnyder AlemSnyder deleted the Graphics/imgui branch July 27, 2023 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants