| DirectX SDK | 
The D3D_OVERLOADS constructors for the D3DVECTOR structure offer a convenient way for C++ programmers to create vectors.
_D3DVECTOR() { }
_D3DVECTOR(D3DVALUE f);
_D3DVECTOR(D3DVALUE _x, D3DVALUE _y, D3DVALUE _z);
_D3DVECTOR(const D3DVALUE f[3]);
These constructors are defined as follows:
inline _D3DVECTOR::_D3DVECTOR(D3DVALUE f)
    {    x = y = z = f; }
 
inline _D3DVECTOR::_D3DVECTOR(D3DVALUE _x, D3DVALUE _y, D3DVALUE _z)
    {     x = _x; y = _y; z = _z; }
 
inline _D3DVECTOR::_D3DVECTOR(const D3DVALUE f[3])
    {     x = f[0]; y = f[1]; z = f[2]; }
  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Version: Requires DirectX 5.0 or later.
  Header: Declared in d3d.h.