We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looking at the headers I saw this:
struct vector3 { union { HYP_FLOAT v[3]; struct { HYP_FLOAT x, y, z; }; struct { HYP_FLOAT yaw, pitch, roll; }; }; };
Why bother with the outer struct when you could've done this:
union vector3 { HYP_FLOAT v[3]; struct { HYP_FLOAT x, y, z; }; struct { HYP_FLOAT yaw, pitch, roll; }; };
The text was updated successfully, but these errors were encountered:
That's an interesting idea.
I used the struct because I thought it was an intuitive choice.
Sorry, something went wrong.
No branches or pull requests
Looking at the headers I saw this:
Why bother with the outer struct when you could've done this:
The text was updated successfully, but these errors were encountered: