?/TD> |
Microsoft DirectX 9.0 |
Supplies the following operator overloads and type casts for D3DXQUATERNION structures.
Syntax
#ifdef __cplusplus public: D3DXQUATERNION() {} D3DXQUATERNION( CONST FLOAT * ); D3DXQUATERNION( FLOAT x, FLOAT y, FLOAT z, FLOAT w ); // casting operator FLOAT* (); operator CONST FLOAT* () const; // assignment operators D3DXQUATERNION& operator += ( CONST D3DXQUATERNION& ); D3DXQUATERNION& operator -= ( CONST D3DXQUATERNION& ); D3DXQUATERNION& operator *= ( CONST D3DXQUATERNION& ); D3DXQUATERNION& operator *= ( FLOAT ); D3DXQUATERNION& operator /= ( FLOAT ); // unary operators D3DXQUATERNION operator + () const; D3DXQUATERNION operator - () const; // binary operators D3DXQUATERNION operator + ( CONST D3DXQUATERNION& ) const; D3DXQUATERNION operator - ( CONST D3DXQUATERNION& ) const; D3DXQUATERNION operator * ( CONST D3DXQUATERNION& ) const; D3DXQUATERNION operator * ( FLOAT ) const; D3DXQUATERNION operator / ( FLOAT ) const; friend D3DXQUATERNION operator * (FLOAT, CONST D3DXQUATERNION& ); BOOL operator == ( CONST D3DXQUATERNION& ) const; BOOL operator != ( CONST D3DXQUATERNION& ) const; #endif //__cplusplus
Members
Structure Information
Header d3dx9math.h Minimum operating systems Windows 98