microsoft / DirectXTK

The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++
https://walbourn.github.io/directxtk/
MIT License
2.57k stars 511 forks source link

Feature request matrix stack #240

Closed ssshammi closed 3 years ago

ssshammi commented 4 years ago

Hi i am unable to find the MatrixStack functionality in DXTK. It seems that it is supported in both Direct x 9 and 10 https://docs.microsoft.com/en-us/windows/win32/direct3d9/id3dxmatrixstack or https://github.com/zielmicha/SDL2/blob/master/src/render/direct3d/SDL_render_d3d.c I think it should be useful to preform Hierarchical transformations or animation. Is there a way to use this in direct x 11 with DirectXTK?

walbourn commented 4 years ago

This is small enough it would probably be a helper header like DebugDraw.h/.cpp I have in the wiki, but I'll keep the request in mind.

walbourn commented 3 years ago

See this DirectXMath PR: https://github.com/microsoft/DirectXMath/pull/139

walbourn commented 3 years ago

https://github.com/microsoft/DirectXMath/blob/master/MatrixStack/DirectXMatrixStack.h