-
Notifications
You must be signed in to change notification settings - Fork 266
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
version 4.0 little fixes #104
Comments
also there several define X, Y, Z in a file |
The whole patch can be |
Yikes, that's some ugly ass code. Not sure how that got in there. It's not mine. I will see if I can find a cleaner way to fix this. |
Ok, thanks for catching this. That was as a result of two things. First, moving all of the implementation code into the header file; which caused the conflicts you saw. The second was just a lot of copy/paste that happened when merging a ton of utility code into the single monolithic header. I have changed the #define X/Y/Z to be #define X_INDEX/Y_INDEX/Z_INDEX and removed the duplicate defines. All methods that were previously called 'X', 'Y', 'Z', are now called 'getX', 'getY', 'getZ'. Not only does this fix the build errors that you saw, it just makes the code cleaner and easier to understand. Thanks for catching this. The fixes have been pushed to master. |
vhacd.txt
|
How do I apply this patch? Sorry, I'm not familiar enough with the git process to do this. Can you make this in the form of a pull request? |
I tried to do a 'git apply' with the patch file you provided but it fails |
Made a pr #109 It's a first time, when I write to really third party developers :) |
Yeah, you should not be using the 'version4' branch. That was just a staging branch as I was developing the new version. That branch is not current or up to date. The only branch you should be working on now is simply the 'master' branch. Sorry for any confusion here. |
In Version 4.0 VHACD I replaced X, Y, Z with X_INDEX, Y_INDEX, Z_INDEX because it was compile issues with my UE project, where I use their vector's X, Y, Z members.
1.txt
The text was updated successfully, but these errors were encountered: