I crated this
ID3D10EffectVectorVariable* g_pVe = NULL;
So I am trying to give a float4 variable called "Ve" in the .fx file a value.
This is the first time i have used a float4 variable. when i use float3 variables I use D3DXVECTOR3 struct like this:
There is no D3DXVECTOR4 struct so i did this:
Is this correct?
I am asking because I have a bug and I think this could be causing it. The bug is related with the 4th value of the float4 variable.
Edited by lomateron, 30 January 2013 - 08:17 PM.