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

GeneralIntersector returns a Boxed type #19

Open
Limeth opened this issue Nov 18, 2018 · 0 comments
Open

GeneralIntersector returns a Boxed type #19

Limeth opened this issue Nov 18, 2018 · 0 comments

Comments

@Limeth
Copy link
Owner

Limeth commented Nov 18, 2018

GeneralIntersector returns a Boxed type. Since these functions can be called several thousand times per frame, it may be worth considering an alternative that doesn't require heap allocation.

https://github.com/Limeth/euclider/blob/master/src/universe/entity/shape.rs#L35-L40

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

No branches or pull requests

1 participant