Direct3D 9 图形) (数学函数
注意
D3DX 实用工具库的数学函数已弃用Windows 8。 建议改用 DirectXMath 。
D3DX 实用工具库提供的数学库提供用于计算 3D 数学运算的函数。 每个函数都可以采用与传递的 [in] 和返回的 [out] 参数相同的对象。 此外,out 参数通常作为返回值返回,以便一个数学函数的输出可用作另一个数学函数的参数。
许多函数在 d3dx9math.inl 中实现。
可将 3D 数学应用程序函数组织到以下组中。
函数
- D3DXColorAdd
- D3DXColorAdjustContrast
- D3DXColorAdjustSaturation
- D3DXColorLerp
- D3DXColorModulate
- D3DXColorNegative
- D3DXColorScale
- D3DXColorSubtract
- D3DXCreateMatrixStack
- D3DXFloat16To32Array
- D3DXFloat32To16Array
- D3DXFresnelTerm
- D3DXMatrixAffineTransformation
- D3DXMatrixAffineTransformation2D
- D3DXMatrixDecompose
- D3DXMatrixDeterminant
- D3DXMatrixIdentity
- D3DXMatrixInverse
- D3DXMatrixIsIdentity
- D3DXMatrixLookAtLH
- D3DXMatrixLookAtRH
- D3DXMatrixMultiply
- D3DXMatrixMultiplyTranspose
- D3DXMatrixOrthoLH
- D3DXMatrixOrthoOffCenterLH
- D3DXMatrixOrthoOffCenterRH
- D3DXMatrixOrthoRH
- D3DXMatrixPerspectiveFovLH
- D3DXMatrixPerspectiveFovRH
- D3DXMatrixPerspectiveLH
- D3DXMatrixPerspectiveOffCenterLH
- D3DXMatrixPerspectiveOffCenterRH
- D3DXMatrixPerspectiveRH
- D3DXMatrixReflect
- D3DXMatrixRotationAxis
- D3DXMatrixRotationQuaternion
- D3DXMatrixRotationX
- D3DXMatrixRotationY
- D3DXMatrixRotationYawPitchRoll
- D3DXMatrixRotationZ
- D3DXMatrixScaling
- D3DXMatrixShadow
- D3DXMatrixTransformation
- D3DXMatrixTransformation2D
- D3DXMatrixTranslation
- D3DXMatrixTranspose
- D3DXPlaneDot
- D3DXPlaneDotCoord
- D3DXPlaneDotNormal
- D3DXPlaneFromPointNormal
- D3DXPlaneFromPoints
- D3DXPlaneIntersectLine
- D3DXPlaneNormalize
- D3DXPlaneScale
- D3DXPlaneTransform
- D3DXPlaneTransformArray
- D3DXQuaternionBaryCentric
- D3DXQuaternionConjugate
- D3DXQuaternionDot
- D3DXQuaternionExp
- D3DXQuaternionIdentity
- D3DXQuaternionInverse
- D3DXQuaternionIsIdentity
- D3DXQuaternionLength
- D3DXQuaternionLengthSq
- D3DXQuaternionLn
- D3DXQuaternionMultiply
- D3DXQuaternionNormalize
- D3DXQuaternionRotationAxis
- D3DXQuaternionRotationMatrix
- D3DXQuaternionRotationYawPitchRoll
- D3DXQuaternionSlerp
- D3DXQuaternionSquad
- D3DXQuaternionSquadSetup
- D3DXQuaternionToAxisAngle
- D3DXSHAdd
- D3DXSHDot
- D3DXSHEvalConeLight
- D3DXSHEvalDirection
- D3DXSHEvalDirectionalLight
- D3DXSHEvalHemisphereLight
- D3DXSHEvalSphericalLight
- D3DXSHProjectCubeMap
- D3DXSHRotate
- D3DXSHRotateZ
- D3DXSHScale
- D3DXVec2Add
- D3DXVec2BaryCentric
- D3DXVec2CatmullRom
- D3DXVec2CCW
- D3DXVec2Dot
- D3DXVec2Hermite
- D3DXVec2Length
- D3DXVec2LengthSq
- D3DXVec2Lerp
- D3DXVec2Maximize
- D3DXVec2Minimize
- D3DXVec2Normalize
- D3DXVec2Scale
- D3DXVec2Subtract
- D3DXVec2Transform
- D3DXVec2TransformArray
- D3DXVec2TransformCoord
- D3DXVec2TransformCoordArray
- D3DXVec2TransformNormal
- D3DXVec2TransformNormalArray
- D3DXVec3Add
- D3DXVec3BaryCentric
- D3DXVec3CatmullRom
- D3DXVec3Cross
- D3DXVec3Dot
- D3DXVec3Hermite
- D3DXVec3Length
- D3DXVec3LengthSq
- D3DXVec3Lerp
- D3DXVec3Maximize
- D3DXVec3Minimize
- D3DXVec3Normalize
- D3DXVec3Project
- D3DXVec3ProjectArray
- D3DXVec3Scale
- D3DXVec3Subtract
- D3DXVec3Transform
- D3DXVec3TransformArray
- D3DXVec3TransformCoord
- D3DXVec3TransformCoordArray
- D3DXVec3TransformNormal
- D3DXVec3TransformNormalArray
- D3DXVec3Unproject
- D3DXVec3UnprojectArray
- D3DXVec4Add
- D3DXVec4BaryCentric
- D3DXVec4CatmullRom
- D3DXVec4Cross
- D3DXVec4Dot
- D3DXVec4Hermite
- D3DXVec4Length
- D3DXVec4LengthSq
- D3DXVec4Lerp
- D3DXVec4Maximize
- D3DXVec4Minimize
- D3DXVec4Normalize
- D3DXVec4Scale
- D3DXVec4Subtract
- D3DXVec4Transform
- D3DXVec4TransformArray
相关主题