D3DXVECTOR2

Describes a vector in 2D space.

typedef struct D3DXVECTOR2 {
    FLOAT x;
    FLOAT y;
} D3DXVECTOR2, *LPD3DXVECTOR2;

Members

x
The x-component.
y
The y-component.

Remarks

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