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

Box to Box Collisions #937

Merged
merged 14 commits into from
Feb 12, 2024
Merged

Box to Box Collisions #937

merged 14 commits into from
Feb 12, 2024

Conversation

fallenatlas
Copy link
Contributor

@fallenatlas fallenatlas commented Feb 1, 2024

Description

Implement narrow phase collision detection for box vs box.

Checklist

  • Self-review changes.
  • Evaluate impact on the documentation.
  • Update sample.

@fallenatlas fallenatlas self-assigned this Feb 1, 2024
@fallenatlas fallenatlas linked an issue Feb 1, 2024 that may be closed by this pull request
@fallenatlas fallenatlas added this to the 0.1 Jammable Engine milestone Feb 1, 2024
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

Attention: 114 lines in your changes are missing coverage. Please review.

Comparison is base (4ceecb5) 36.00% compared to head (7edb861) 35.83%.

Files Patch % Lines
core/src/geom/intersections.cpp 0.00% 77 Missing ⚠️
engine/src/collisions/narrow_phase/plugin.cpp 0.00% 23 Missing ⚠️
...ine/src/collisions/narrow_phase/colliding_with.cpp 0.00% 8 Missing ⚠️
core/include/cubos/core/geom/box.hpp 0.00% 4 Missing ⚠️
engine/src/collisions/plugin.cpp 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #937      +/-   ##
==========================================
- Coverage   36.00%   35.83%   -0.17%     
==========================================
  Files         293      296       +3     
  Lines       24079    24192     +113     
==========================================
  Hits         8669     8669              
- Misses      15410    15523     +113     

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

core/include/cubos/core/geom/box.hpp Outdated Show resolved Hide resolved
core/include/cubos/core/geom/intersections.hpp Outdated Show resolved Hide resolved
core/include/cubos/core/geom/intersections.hpp Outdated Show resolved Hide resolved
core/include/cubos/core/geom/intersections.hpp Outdated Show resolved Hide resolved
@fallenatlas fallenatlas marked this pull request as ready for review February 2, 2024 18:59
Copy link
Contributor

github-actions bot commented Feb 2, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://GameDevTecnico.github.io/cubos/docs-preview/pr-937/
on branch gh-pages at 2024-02-12 12:31 UTC

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/1)

core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp 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 (1/1)

core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
@github-actions github-actions bot dismissed stale reviews from themself February 2, 2024 22:45

No Clang-Tidy warnings found so I assume my comments were addressed

@fallenatlas fallenatlas force-pushed the 524-box-to-box-collisions branch 2 times, most recently from a1f3d40 to 6a458ee Compare February 7, 2024 14:04
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.

Overall LGTM! Just some nitpicks to fix before merging :)

core/include/cubos/core/geom/intersections.hpp Outdated Show resolved Hide resolved
core/include/cubos/core/geom/intersections.hpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
core/src/geom/intersections.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 (1/1)

core/src/geom/intersections.cpp Outdated Show resolved Hide resolved
@github-actions github-actions bot dismissed their stale review February 12, 2024 12:39

No Clang-Tidy warnings found so I assume my comments were addressed

@fallenatlas fallenatlas merged commit a8e1ee6 into main Feb 12, 2024
11 checks passed
@fallenatlas fallenatlas deleted the 524-box-to-box-collisions branch February 12, 2024 12:48
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.

Detect collisions for Box vs Box
2 participants