D3DMXVECTOR4FXD (Windows Embedded CE 6.0)
1/6/2010
This structure describes a four-dimensional vector using fixed point numbers.
Syntax
typedef struct D3DMXVECTOR4FXD {
#ifdef __cplusplus
public:
D3DMXVECTOR4FXD() {};
D3DMXVECTOR4FXD( CONST FIXED* );
D3DMXVECTOR4FXD( FIXED x, FIXED y, FIXED z, FIXED w );
D3DMXVECTOR4FXD( FLOAT x, FLOAT y, FLOAT z, FLOAT w );
// casting
operator FIXED* ();
operator CONST FIXED* () const;
// assignment operators
D3DMXVECTOR4FXD& operator += ( CONST D3DMXVECTOR4FXD& );
D3DMXVECTOR4FXD& operator -= ( CONST D3DMXVECTOR4FXD& );
D3DMXVECTOR4FXD& operator *= ( FIXED );
D3DMXVECTOR4FXD& operator /= ( FIXED );
// unary operators
D3DMXVECTOR4FXD operator + () const;
D3DMXVECTOR4FXD operator - () const;
// binary operators
D3DMXVECTOR4FXD operator + ( CONST D3DMXVECTOR4FXD& ) const;
D3DMXVECTOR4FXD operator - ( CONST D3DMXVECTOR4FXD& ) const;
D3DMXVECTOR4FXD operator * ( FIXED ) const;
D3DMXVECTOR4FXD operator / ( FIXED ) const;
friend D3DMXVECTOR4FXD operator * ( FIXED, CONST D3DMXVECTOR4FXD& );
BOOL operator == ( CONST D3DMXVECTOR4FXD& ) const;
BOOL operator != ( CONST D3DMXVECTOR4FXD& ) const;
public:
#endif //__cplusplus
FIXED x, y, z, w;
} D3DMXVECTOR4FXD, *LPD3DMXVECTOR4FXD;
Members
- x
A FIXED value for the x-component.
- y
A FIXED value for the y-component.
- z
A FIXED value for the z-component.
- w
A FIXED value for the w-component.
Requirements
Header | d3dmx.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |