C++ Directx 11 D3DXVec3Unproject
Posted
by
Miguel P
on Game Development
See other posts from Game Development
or by Miguel P
Published on 2012-10-04T11:20:13Z
Indexed on
2012/10/04
15:54 UTC
Read the original article
Hit count: 399
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
© Game Development or respective owner