次の方法で共有


D3DXPlaneFromPointNormal 関数

D3DXPlaneFromPointNormal 関数

点トと法線から平面を作成する。

構文

D3DXPLANE *D3DXPlaneFromPointNormal(      
    D3DXPLANE *pOut,
    CONST D3DXVECTOR3 *pPoint,
    CONST D3DXVECTOR3 *pNormal
);

パラメータ

  • pOut
    [in, out] 演算結果である D3DXPLANE 構造体へのポインタ。
  • pPoint
    [in] 平面の作成に使う点を定義する D3DXVECTOR3 構造体へのポインタ。
  • pNormal
    [in] 平面の作成に使う法線を定義する D3DXVECTOR3 構造体へのポインタ。

戻り値

点と法線から作成した D3DXPLANE 構造体へのポインタ。

注意

この関数の戻り値は、pOut パラメータの戻り値と同じである。したがって、D3DXPlaneFromPointNormal 関数を別の関数の引数として使える。

関数の情報

ヘッダー d3dx9math.h
インポート ライブラリ d3dx9.lib
最低限のオペレーティング システム Windows 98

参照

D3DXPlaneFromPoints