Microsoft DirectX 8.1 (C++) |
Describes a vector in two-dimensional (2-D) space.
typedef struct D3DXVECTOR2 { FLOAT x, y; } D3DXVECTOR2;
C++ programmers can take advantage of operator overloading and type casting. The C++ implementation of the D3DXVECTOR2 structure implements overloaded constructors and overloaded assignment, unary and binary (including equality) operators. For more information, see C++ Specific Features.
Header: Declared in D3dx8math.h.