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

polycollection2d fix #130

Merged
merged 2 commits into from
Apr 7, 2024
Merged

Conversation

steven11sjf
Copy link
Contributor

  • im stupid, turns out it's a vec3 for the AABOX's vPos's offset and it also applies to POLYCOLLECTION2D and presumably CIRCLE as well...

- im stupid, turns out it's a vec3 for the vPos's offset and it also
  applies to POLYCOLLECTION2D and presumably CIRCLE as well...
@duncathan
Copy link
Contributor

called it

@@ -38,14 +38,11 @@

collision_formats = {
"AABOX2D": Struct(
center=CVector2D,
unk=Float,
offset=CVector3D,
Copy link
Contributor

Choose a reason for hiding this comment

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

call these position imo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i was going for "offset from vPos", since it felt like center/position was a bit misleading. i can maybe just throw in a small comment to clarify instead.

Copy link
Contributor

Choose a reason for hiding this comment

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

it's relative position, as opposed to global. in my experience relative position is the default when you just say "position"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fair enough, fixed

Copy link

codecov bot commented Mar 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.13%. Comparing base (f1129fb) to head (825a68f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #130   +/-   ##
=======================================
  Coverage   74.13%   74.13%           
=======================================
  Files          63       63           
  Lines        3155     3155           
=======================================
  Hits         2339     2339           
  Misses        816      816           

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

@henriquegemignani henriquegemignani added this pull request to the merge queue Apr 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 6, 2024
@ThanatosGit ThanatosGit added this pull request to the merge queue Apr 7, 2024
Merged via the queue into randovania:main with commit c1e22b2 Apr 7, 2024
10 checks passed
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.

None yet

5 participants