Sorry for the dumb question .... but why this does not work ? To show the problem I wrote this simple code:
#include <windows.h>
#include <DirectXMath.h>
#include <DirectXPackedVector.h>
#include <iostream>
using namespace std;
using namespace DirectX;
using namespace DirectX::PackedVector;
int main()
{
XMVECTOR c = XMVECTORSet(3.0f, 3.0f, 3.0f, 3.0f);
return 0;
}
VS answers "error C3861: 'XMVECTORSet': identifier not found"
You should use XMVectorSet
instead of XMVECTORSet
(This function does not exist)
Function definition on msdn