Microsoft DirectX 8.1 (C++)

D3DXVECTOR4

Describes a vector in four-dimensional (4-D) space.

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

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. 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.

Requirements

  Header: Declared in D3dx8math.h.