D3DXFLOAT16 Extensions

Supplies operator overloads and type casts for D3DXFLOAT16 structures.

Syntax

typedef struct D3DXFLOAT16
{
#ifdef __cplusplus
public:
    D3DXFLOAT16() {};
    D3DXFLOAT16( FLOAT );
    D3DXFLOAT16( CONST D3DXFLOAT16& );

    // casting
    operator FLOAT ();

    // binary operators
    BOOL operator == ( CONST D3DXFLOAT16& ) const;
    BOOL operator != ( CONST D3DXFLOAT16& ) const;

protected:
#endif //__cplusplus
    WORD value;
} D3DXFLOAT16, *LPD3DXFLOAT16;

Members

For more information about structure members, refer to D3DXFLOAT16.

Remarks

Operator overloads and type casts for this structure are implemented in d3dx9math.inl.