D3DMXVECTOR3FXD (Windows Embedded CE 6.0)
1/6/2010
This structure describes a three-dimensional vector using fixed point numbers.
Syntax
typedef struct D3DMXVECTOR3FXD {
#ifdef __cplusplus
public:
D3DMXVECTOR3FXD() {};
D3DMXVECTOR3FXD( CONST FIXED * );
D3DMXVECTOR3FXD( CONST D3DMVECTOR& );
D3DMXVECTOR3FXD( FIXED x, FIXED y, FIXED z );
D3DMXVECTOR3FXD( FLOAT x, FLOAT y, FLOAT z );
// casting
operator FIXED* ();
operator CONST FIXED* () const;
// assignment operators
D3DMXVECTOR3FXD& operator += ( CONST D3DMXVECTOR3FXD& );
D3DMXVECTOR3FXD& operator -= ( CONST D3DMXVECTOR3FXD& );
D3DMXVECTOR3FXD& operator *= ( FIXED );
D3DMXVECTOR3FXD& operator /= ( FIXED );
// unary operators
D3DMXVECTOR3FXD operator + () const;
D3DMXVECTOR3FXD operator - () const;
// binary operators
D3DMXVECTOR3FXD operator + ( CONST D3DMXVECTOR3FXD& ) const;
D3DMXVECTOR3FXD operator - ( CONST D3DMXVECTOR3FXD& ) const;
D3DMXVECTOR3FXD operator * ( FIXED ) const;
D3DMXVECTOR3FXD operator / ( FIXED ) const;
friend D3DMXVECTOR3FXD operator * ( FIXED, CONST struct
D3DMXVECTOR3FXD& );
BOOL operator == ( CONST D3DMXVECTOR3FXD& ) const;
BOOL operator != ( CONST D3DMXVECTOR3FXD& ) const;
#endif //__cplusplus
FIXED x, y, z;
} D3DMXVECTOR3FXD, *LPD3DMXVECTOR3FXD;
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.
Requirements
Header | d3dmx.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |