Platform SDK: DirectX

D3DXPLANE 拡張機能

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

#ifdef __cplusplus
public:
  D3DXPLANE() {}
  D3DXPLANE( const float* );
  D3DXPLANE( float a, float b, float c, float d );
 
  // 変換
  operator float* ();
  operator const float* () const;
 
// 単項演算子
  D3DXPLANE operator + () const;
  D3DXPLANE operator - () const;
 
// 2 項演算子
  BOOL operator == ( const D3DXPLANE& ) const;
  BOOL operator != ( const D3DXPLANE& ) const;
 
#endif //__cplusplus