I found out that QD3DVector is declared incorrectly. The current declaration is
QD3DVector DVX SINGLE DVY SINGLE DVZ SINGLE X SINGLE Y SINGLE Z SINGLE
Should be: QD3DVector X SINGLE Y SINGLE Z SINGLE
Why? The actual Microsoft declaration is A UNION !!! typedef struct _D3DVECTOR { union { D3DVALUE x; D3DVALUE dvX; }; union { D3DVALUE y; D3DVALUE dvY; }; union { D3DVALUE z; D3DVALUE dvZ; }; } D3DVECTOR, *LPD3DVECTOR;
That is you can use this code:
DIM Camera AS QD3DVector Camera.x = 1 Camera.y = 0 Camera.z = 0.5