DirectX SDK

D3DXPLANE Extensions

The D3DXPLANE structure supplies the following operator overloads and type casts.

#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