FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(core): collider systems by Miou-zora · Pull Request #30 · EngineSquared/EngineSquared · GitHub

feat(core): collider systems - #30

Merged
Miou-zora merged 4 commits into
mainfrom
11-collider-systems
Oct 15, 2024
Merged

feat(core): collider systems#30
Miou-zora merged 4 commits into
mainfrom
11-collider-systems

Conversation

Copy link
Copy Markdown
Contributor

Linked to:

I've added a dumb collision detector using a O(n²/2) algorithm

Miou-zora added the enhancement New feature or request label Oct 13, 2024
Miou-zora requested a review from a team October 13, 2024 15:01
Miou-zora self-assigned this Oct 13, 2024
Miou-zora linked an issue Oct 13, 2024 that may be closed by this pull request
ripel2 changed the title 11 collider systems feat(core): collider systems Oct 14, 2024

ripel2 commented Oct 14, 2024

Copy link
Copy Markdown
Contributor

i'm curious how did you compute the complexity ? @Miou-zora

ripel2 previously approved these changes Oct 14, 2024

ripel2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

Miou-zora commented Oct 15, 2024
edited
Loading

Copy link
Copy Markdown
Contributor Author

i'm curious how did you compute the complexity ? @Miou-zora

it's basically a double for loop (O(n²)) which I cut in half because a collide with b is the same as b collide with a. (It's more like O(n²/2 - n/2) but n/2 is negligeable)

Miou-zora merged commit a20b53c into main Oct 15, 2024
Miou-zora deleted the 11-collider-systems branch October 15, 2024 02:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collider systems

2 participants


Back | FazBrowse Home | New Git URL