microsoft / DirectXMath

DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps
https://walbourn.github.io/introducing-directxmath/
MIT License
1.54k stars 238 forks source link

DirectXMath Matrix Stack should have option to maintain inverse #140

Open walbourn opened 2 years ago

walbourn commented 2 years ago

The original D3DX9math implementation of Matrix Stack only tracked a single matrix. One of the reasons, however, to create a stack is to be able to step-by-step maintain a matching inverse. Would be nice to add as an opt-in feature.