d = XMVector3Dot(t, XMVectorPermute(RX2, -RX2, Permute1Y0X0W0Z)); d_A = XMVector3Dot(h_A, XMVectorPermute(ARX2, ARX2, PermuteYXWZ)); d_B = XMVector3Dot(h_B, XMVectorPermute(AR2X, AR2X, PermuteYXWZ));
The error is:
Error:No instance of overloaded function "XMVectorPermute" matches the argument list
argument types are: (DirectX::XMVECTOR, DirectX::XMVECTOR, const DirectX::XMVECTORI32)
Now this all used to work fine back on DirectX 10 apps,so I thought that maybe microsoft changed the function in DirectXMath.h,so it won't match the way it's used in xnacollision.h(also made by microsoft if I'm not mistaken).So I removed DirectXMath.h and included xnamath.h again,but it now all the math functions give me that same error and the weirdest part is,that even after saving,cleaning and restarting,when I click ''go to definition'' on any of those functions,they go to one of the DirectXMath#####.inl files,even when DirectXMath,h is not included anywhere in the solution.
Has anyone had such an issue when migrating to DirectXMath.h?I also found it hard to use XMFLOAT structures with x3daudio,I guess Microsoft doesn't support it anymore or something.
EDIT:It seems they made it some kind of template in one header and a normal function in another one.