Change Corner enum order to enable bit operations #8152
lucashilles
started this conversation in
Engine Core
Replies: 2 comments
-
This would break compatibility, so can't happen until 5.0 most likely |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sounds good, what's the necessity for it though? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently the Corner enum is ordered in such a way that it is not possible to differentiate the horizontal position using bit operations.
core/math/math_defs.h
Changing the order of the elements would make this kind of operation possible, as shown in the table.
Beta Was this translation helpful? Give feedback.
All reactions