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.52k stars 234 forks source link

Replace typedefs with 'using' declarations #132

Closed danielkrupinski closed 2 years ago

walbourn commented 2 years ago

The change to DirectXSH.cpp makes total sense.

That said, I left the type aliases in DirectXMath.h using typedef because they are easier to scan. It looks really weird (to me at least) to have dangling & at the end of the line and those are essential modifiers for those type aliases.

walbourn commented 2 years ago

I merged the change to SHMath in this commit.

Thanks!