Skip to content

Deduplicate triangle-triangle intersection code #86

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Garrett-R
Copy link

I noticed there were 2 functions with nearly identical code. Two small differences:

  1. the static version was slightly more performant having more ref usages, avoiding making copies. I took this one
  2. the non-static one had a side-effect of setting the Type which I've maintained.

This is a pure refactor, API and functionality should be the same.

@Garrett-R
Copy link
Author

I also added my project to the "Projects using g3Sharp" list, but let me know if you want me to drop that commit.

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.

1 participant