Funkcje matematyczne (grafika Direct3D 9)
Nuta
Funkcje matematyczne biblioteki narzędzi D3DX są przestarzałe dla systemu Windows 8. Zalecamy użycie DirectXMath.
Biblioteka matematyczna dostarczana przez bibliotekę narzędzi D3DX funkcje do obliczania operacji matematycznych 3D. Każda z funkcji może przyjmować ten sam obiekt, co przekazane parametry [in] i zwracane [out]. Ponadto parametry wyjściowe są zwykle zwracane jako wartości zwracane, dzięki czemu dane wyjściowe jednej funkcji matematycznej mogą być używane jako parametr dla innej funkcji matematycznej.
Wiele funkcji jest implementowanych w pliku d3dx9math.inl.
Funkcje aplikacji matematycznych 3D można podzielić na następujące grupy.
Funkcje
- 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
- D3DXSHDOdaj
- D3DXSHDot
- D3DXSHEvalConeLight
- D3DXSHEvalDirection
- D3DXSHEvalDirectionalLight
- D3DXSHEvalHemisphereLight
- D3DXSHEvalSphericalLight
- D3DXSHProjectCubeMap
- D3DXSHRotate
- D3DXSHRotateZ
- D3DXSHScale
- D3DXVec2DOdaj
- D3DXVec2BaryCentric
- D3DXVec2CatmullRom
- D3DXVec2CCW
- D3DXVec2Dot
- D3DXVec2Hermite
- D3DXVec2Length
- D3DXVec2LengthSq
- D3DXVec2Lerp
- D3DXVec2Maximize
- D3DXVec2Minimize
- D3DXVec2Normalize
- D3DXVec2Scale
- D3DXVec2Subtract
- D3DXVec2Transform
- D3DXVec2TransformArray
- D3DXVec2TransformCoord
- D3DXVec2TransformCoordArray
- D3DXVec2TransformNormal
- D3DXVec2TransformNormalArray
- D3DXVec3Dodaj
- D3DXVec3BaryCentric
- D3DXVec3CatmullRom
- D3DXVec3Cross
- D3DXVec3Dot
- D3DXVec3Hermite
- D3DXVec3Length
- D3DXVec3LengthSq
- D3DXVec3Lerp
- D3DXVec3Maximize
- D3DXVec3Minimize
- D3DXVec3Normalize
- D3DXVec3Project
- D3DXVec3ProjectArray
- D3DXVec3Scale
- D3DXVec3Subtract
- D3DXVec3Transform
- D3DXVec3TransformArray
- D3DXVec3TransformCoord
- D3DXVec3TransformCoordArray
- D3DXVec3TransformNormal
- D3DXVec3TransformNormalArray
- D3DXVec3Unproject
- D3DXVec3UnprojectArray
- D3DXVec4Dodaj
- D3DXVec4BaryCentric
- D3DXVec4CatmullRom
- D3DXVec4Cross
- D3DXVec4Dot
- D3DXVec4Hermite
- D3DXVec4Length
- D3DXVec4LengthSq
- D3DXVec4Lerp
- D3DXVec4Maximize
- D3DXVec4Minimize
- D3DXVec4Normalize
- D3DXVec4Scale
- D3DXVec4Subtract
- D3DXVec4Transform
- D3DXVec4TransformArray
Tematy pokrewne