We've made it to yet another massive cleanup of ENIGMA's graphics. This one is a pretty big deal that I wanted to make sure to let everyone know about. I've rewritten all the old transform and matrix code using a single dependency, GLM, to eliminate all of the old duplication. This is not only less code but also brings improved consistency across the four graphics systems that ENIGMA currently provides. There were several reasons for choosing GLM over various other alternatives that exist, but I'm fairly certain we've made the right decision.
You can see in the above table that the transforms in the Animation Platform Example sent to me by DarkAceZ are consistent in all four graphics systems. Direct3D11 does still have noticeable rendering bugs, but this is unrelated to the transforms and has to do with render states and unfinished D3D11 features we will need to take care of later. But regardless, the game does perform more consistently as a result of these changes.
You will now need to download GLM through your package manager when setting up ENIGMA or pulling the latest master on all platforms.
sudo apt-get install libglm-dev
# MSYS2 32-bit
pacboy -S glm:i
# MSYS2 64-bit
pacboy -S glm:x
You can see that the changes have already been merged:https://github.com/enigma-dev/enigma-dev/commit/4e8ad7c3857794f490610c621ae64ae54b3456b0
The full details of these changes can be found in the original pull request comments:https://github.com/enigma-dev/enigma-dev/pull/1396