C++ Directx 11 D3DXVec3Unproject
- by Miguel P
Hello dear people from the underworld called the internet.
So guys,
Im having a small issue with D3DXVec3Unproject, because I'm currently using Directx 11 and not 10, and the requirements for this function is:
D3DXVECTOR3 *pOut, CONST D3DXVECTOR3 *pV, CONST D3D10_VIEWPORT *pViewport,
CONST D3DXMATRIX *pProjection, CONST D3DXMATRIX *pView, CONST D3DXMATRIX *pWorld
As you may have noticed, it requires a D3D10_VIEWPORT, and I'm using a Directx 11 viewport, D3D11_VIEWPORT.
So do you have any ideas how i can use D3DXVec3Unproject with Directx 11?
Thank You