Microsoft DirectX 8.0 (C++)

算術関数

Direct3DX ユーティリティ ライブラリにより提供されている算術ライブラリには、基本的な算術演算と複雑な 3D 算術演算の両方を計算する関数がある。

3D 算術アプリケーション関数は、以下のグループにまとめることができる。

カラー D3DXColorAdd
  D3DXColorAdjustContrast
D3DXColorAdjustSaturation
D3DXColorLerp
D3DXColorModulate
D3DXColorNegative
D3DXColorScale
D3DXColorSubtract
作成 D3DXCreateMatrixStack
平面 D3DXPlaneDot
  D3DXPlaneDotCoord
D3DXPlaneDotNormal
D3DXPlaneIntersectLine
D3DXPlaneFromPointNormal
D3DXPlaneNormalize
D3DXPlaneFromPoints
D3DXPlaneTransform
クオータニオン D3DXQuaternionBaryCentric
  D3DXQuaternionConjugate
D3DXQuaternionDot
D3DXQuaternionExp
D3DXQuaternionIdentity
D3DXQuaternionInverse
D3DXQuaternionIsIdentity
D3DXQuaternionLength
D3DXQuaternionLengthSq
D3DXQuaternionLn
D3DXQuaternionMultiply
D3DXQuaternionNormalize
D3DXQuaternionRotationAxis
D3DXQuaternionRotationMatrix
D3DXQuaternionRotationYawPitchRoll
D3DXQuaternionSlerp
D3DXQuaternionSquad
D3DXQuaternionToAxisAngle
2D ベクトル D3DXVec2Add
  D3DXVec2BaryCentric
D3DXVec2CatmullRom
D3DXVec2CCW
D3DXVec2Dot
D3DXVec2Hermite
D3DXVec2Length
D3DXVec2LengthSq
D3DXVec2Lerp
D3DXVec2Maximize
D3DXVec2Minimize
D3DXVec2Normalize
D3DXVec2Scale
D3DXVec2Subtract
D3DXVec2Transform
D3DXVec2TransformCoord
D3DXVec2TransformNormal
3D ベクトル D3DXVec3Add
  D3DXVec3BaryCentric
D3DXVec3CatmullRom
D3DXVec3Cross
D3DXVec3Dot
D3DXVec3Hermite
D3DXVec3Length
D3DXVec3LengthSq
D3DXVec3Lerp
D3DXVec3Maximize
D3DXVec3Minimize
D3DXVec3Normalize
D3DXVec3Project
D3DXVec3Scale
D3DXVec3Subtract
D3DXVec3Transform
D3DXVec3TransformCoord
D3DXVec3TransformNormal
D3DXVec3Unproject
4D 行列 D3DXMatrixAffineTransformation
  D3DXMatrixfDeterminant
D3DXMatrixIdentity
D3DXMatrixInverse
D3DXMatrixIsIdentity
D3DXMatrixLookAtRH
D3DXMatrixLookAtLH
D3DXMatrixMultiply
D3DXMatrixOrthoRH
D3DXMatrixOrthoLH
D3DXMatrixOrthoOffCenterRH
D3DXMatrixOrthoOffCenterLH
D3DXMatrixPerspectiveRH
D3DXMatrixPerspectiveLH
D3DXMatrixPerspectiveFovRH
D3DXMatrixPerspectiveFovLH
D3DXMatrixPerspectiveOffCenterRH
D3DXMatrixPerspectiveOffCenterLH
D3DXMatrixReflect
D3DXMatrixRotationAxis
D3DXMatrixRotationQuaternion
D3DXMatrixRotationX
D3DXMatrixRotationY
D3DXMatrixRotationYawPitchRoll
D3DXMatrixRotationZ
D3DXMatrixScaling
D3DXMatrixShadow
D3DXMatrixTransformation
D3DXMatrixTranslation
D3DXMatrixTranspose
4D ベクトル D3DXVec4Add
  D3DXVec4BaryCentric
D3DXVec4CatmullRom
D3DXVec4Cross
D3DXVec4Dot
D3DXVec4Hermite
D3DXVec4Length
D3DXVec4LengthSq
D3DXVec4Lerp
D3DXVec4Maximize
D3DXVec4Minimize
D3DXVec4Normalize
D3DXVec4Scale
D3DXVec4Subtract
D3DXVec4Transform

  すべての算術関数は、入力パラメータと出力パラメータの両方で同じオブジェクトを使用できる。また、出力パラメータは通常戻り値として返されるので、ある算術関数の出力を別の算術関数のパラメータとして使用できる。