Microsoft DirectX 8.1 (C++) |
Describes a vector in four-dimensional (4-D) space.
typedef struct D3DXVECTOR4 { FLOAT x, y, z, w; } D3DXVECTOR4;
C++ programmers can take advantage of operator overloading and type casting. The C++ implementation of the D3DXVECTOR4 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.