次の方法で共有


D3DXPLANE 拡張機能の構造体

D3DXPLANE 拡張機能の構造体

D3DXPLANE 構造体に対して、次の演算子オーバーロードと型変換を提供する。

構文


#ifdef __cplusplus
public:
    D3DXPLANE() {}
    D3DXPLANE( CONST FLOAT* );
    D3DXPLANE( FLOAT a, FLOAT b, FLOAT c, FLOAT d );

    // casting
    operator FLOAT* ();
    operator CONST FLOAT* () const;

    // unary operators
    D3DXPLANE operator + () const;
    D3DXPLANE operator - () const;

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

#endif //__cplusplus

構造体の情報

ヘッダー d3dx9math.h
最低限のオペレーティング システム Windows 98