Platform SDK: DirectX |
D3DXVec3LengthSq 関数は、指定された 3D ベクトルの長さの 2 乗を返す。
float D3DXVec3LengthSq( const D3DXVECTOR3* pV );
ベクトルの長さの 2 乗。
Windows NT/2000 : Windows 2000 が必要。
Windows 95/98 : Windows 95 以上が必要。Windows 95 用に再配布可能な形で使用可能。
バージョン : DirectX 7.0 が必要。
ヘッダー : d3dxmath.h で宣言。
ライブラリ : d3dx.lib を使用。