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

Add VoxelPalette iterator #723

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

roby2014
Copy link
Member

Description

Add VoxelPalette iterator

Checklist

  • Self-review changes.
  • Evaluate impact on the documentation.
  • Ensure test coverage.
  • Write new samples.

@roby2014 roby2014 linked an issue Oct 16, 2023 that may be closed by this pull request
@roby2014
Copy link
Member Author

It's a fairly simple implementation, however, I'm a bit insecure on how should i test this? Engine tests?

@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 2023

PR Preview Action v1.4.4
Preview removed because the pull request was closed.
2023-10-16 17:23 UTC

@roby2014 roby2014 changed the title Add VoxelPalette iterator Add VoxelPalette iterator Oct 16, 2023
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ clang-tidy found issue(s) with the introduced code (1/2)

engine/include/cubos/engine/voxels/palette.hpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ clang-tidy found issue(s) with the introduced code (2/2)

engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
engine/src/cubos/engine/voxels/palette.cpp Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (5c025a2) 38.15% compared to head (8c2325e) 38.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #723   +/-   ##
=======================================
  Coverage   38.15%   38.15%           
=======================================
  Files          99       99           
  Lines        6576     6576           
=======================================
  Hits         2509     2509           
  Misses       4067     4067           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roby2014 roby2014 self-assigned this Oct 16, 2023
@roby2014 roby2014 force-pushed the 667-allow-iterating-over-voxelpalletes branch from ec2c051 to a587258 Compare October 16, 2023 02:21
@github-actions github-actions bot dismissed stale reviews from themself October 16, 2023 02:22

No clang-tidy warnings found so I assume my comments were addressed

Copy link
Member

@RiscadoA RiscadoA left a comment

Choose a reason for hiding this comment

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

Ty for working on this!

engine/include/cubos/engine/voxels/palette.hpp Outdated Show resolved Hide resolved
engine/include/cubos/engine/voxels/palette.hpp Outdated Show resolved Hide resolved
@RiscadoA
Copy link
Member

It's a fairly simple implementation, however, I'm a bit insecure on how should i test this? Engine tests?

The tests are currently broken :( #564 Ig you can skip it for now

@roby2014 roby2014 force-pushed the 667-allow-iterating-over-voxelpalletes branch from 68b7be6 to 4b2b33a Compare October 16, 2023 15:53
@roby2014 roby2014 force-pushed the 667-allow-iterating-over-voxelpalletes branch from 6d2442c to 8c2325e Compare October 16, 2023 17:05
@roby2014 roby2014 merged commit 68771e0 into main Oct 16, 2023
9 checks passed
@roby2014 roby2014 deleted the 667-allow-iterating-over-voxelpalletes branch October 16, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow iterating over VoxelPalletes
2 participants