D3DXVECTOR4

Describes a vector in 4D space.

typedef struct D3DXVECTOR4 {
    FLOAT x;
    FLOAT y;
    FLOAT z;
    FLOAT w;
} D3DXVECTOR4, *LPD3DXVECTOR4;

Members

x
The x-component.
y
The y-component.
z
The z-component.
w
The w-component.

Remarks

C++ programmers can take advantage of operator overloading and type casting with the D3DXVECTOR4 Extensions, which implement overloaded constructors, assignment, unary, and binary (including equality) operators.