DirectX SDK |
The unary operators are overloaded operators for the D3D_OVERLOADS extensions. The unary operators are defined as follows:
_D3DVECTOR operator + (const _D3DVECTOR& v); _D3DVECTOR operator - (const _D3DVECTOR& v); inline _D3DVECTOR operator + (const _D3DVECTOR& v) { return v; } inline _D3DVECTOR operator - (const _D3DVECTOR& v) { return _D3DVECTOR(-v.x, -v.y, -v.z); }
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 d3dtypes.h.