RetroArch
Macros | Functions
xnamathmisc.inl File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define __XNAMATHMISC_INL__
 
#define XMASSERT_LINE_STRING_SIZE   16
 

Functions

XMFINLINE BOOL XMQuaternionEqual (FXMVECTOR Q1, FXMVECTOR Q2)
 
XMFINLINE BOOL XMQuaternionNotEqual (FXMVECTOR Q1, FXMVECTOR Q2)
 
XMFINLINE BOOL XMQuaternionIsNaN (FXMVECTOR Q)
 
XMFINLINE BOOL XMQuaternionIsInfinite (FXMVECTOR Q)
 
XMFINLINE BOOL XMQuaternionIsIdentity (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionDot (FXMVECTOR Q1, FXMVECTOR Q2)
 
XMFINLINE XMVECTOR XMQuaternionMultiply (FXMVECTOR Q1, FXMVECTOR Q2)
 
XMFINLINE XMVECTOR XMQuaternionLengthSq (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionReciprocalLength (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionLength (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionNormalizeEst (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionNormalize (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionConjugate (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionInverse (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionLn (FXMVECTOR Q)
 
XMFINLINE XMVECTOR XMQuaternionExp (FXMVECTOR Q)
 
XMINLINE XMVECTOR XMQuaternionSlerp (FXMVECTOR Q0, FXMVECTOR Q1, FLOAT t)
 
XMINLINE XMVECTOR XMQuaternionSlerpV (FXMVECTOR Q0, FXMVECTOR Q1, FXMVECTOR T)
 
XMFINLINE XMVECTOR XMQuaternionSquad (FXMVECTOR Q0, FXMVECTOR Q1, FXMVECTOR Q2, CXMVECTOR Q3, FLOAT t)
 
XMFINLINE XMVECTOR XMQuaternionSquadV (FXMVECTOR Q0, FXMVECTOR Q1, FXMVECTOR Q2, CXMVECTOR Q3, CXMVECTOR T)
 
XMINLINE VOID XMQuaternionSquadSetup (XMVECTOR *pA, XMVECTOR *pB, XMVECTOR *pC, FXMVECTOR Q0, FXMVECTOR Q1, FXMVECTOR Q2, CXMVECTOR Q3)
 
XMFINLINE XMVECTOR XMQuaternionBaryCentric (FXMVECTOR Q0, FXMVECTOR Q1, FXMVECTOR Q2, FLOAT f, FLOAT g)
 
XMFINLINE XMVECTOR XMQuaternionBaryCentricV (FXMVECTOR Q0, FXMVECTOR Q1, FXMVECTOR Q2, CXMVECTOR F, CXMVECTOR G)
 
XMFINLINE XMVECTOR XMQuaternionIdentity ()
 
XMFINLINE XMVECTOR XMQuaternionRotationRollPitchYaw (FLOAT Pitch, FLOAT Yaw, FLOAT Roll)
 
XMFINLINE XMVECTOR XMQuaternionRotationRollPitchYawFromVector (FXMVECTOR Angles)
 
XMFINLINE XMVECTOR XMQuaternionRotationNormal (FXMVECTOR NormalAxis, FLOAT Angle)
 
XMFINLINE XMVECTOR XMQuaternionRotationAxis (FXMVECTOR Axis, FLOAT Angle)
 
XMINLINE XMVECTOR XMQuaternionRotationMatrix (CXMMATRIX M)
 
XMFINLINE VOID XMQuaternionToAxisAngle (XMVECTOR *pAxis, FLOAT *pAngle, FXMVECTOR Q)
 
XMFINLINE BOOL XMPlaneEqual (FXMVECTOR P1, FXMVECTOR P2)
 
XMFINLINE BOOL XMPlaneNearEqual (FXMVECTOR P1, FXMVECTOR P2, FXMVECTOR Epsilon)
 
XMFINLINE BOOL XMPlaneNotEqual (FXMVECTOR P1, FXMVECTOR P2)
 
XMFINLINE BOOL XMPlaneIsNaN (FXMVECTOR P)
 
XMFINLINE BOOL XMPlaneIsInfinite (FXMVECTOR P)
 
XMFINLINE XMVECTOR XMPlaneDot (FXMVECTOR P, FXMVECTOR V)
 
XMFINLINE XMVECTOR XMPlaneDotCoord (FXMVECTOR P, FXMVECTOR V)
 
XMFINLINE XMVECTOR XMPlaneDotNormal (FXMVECTOR P, FXMVECTOR V)
 
XMFINLINE XMVECTOR XMPlaneNormalizeEst (FXMVECTOR P)
 
XMFINLINE XMVECTOR XMPlaneNormalize (FXMVECTOR P)
 
XMFINLINE XMVECTOR XMPlaneIntersectLine (FXMVECTOR P, FXMVECTOR LinePoint1, FXMVECTOR LinePoint2)
 
XMINLINE VOID XMPlaneIntersectPlane (XMVECTOR *pLinePoint1, XMVECTOR *pLinePoint2, FXMVECTOR P1, FXMVECTOR P2)
 
XMFINLINE XMVECTOR XMPlaneTransform (FXMVECTOR P, CXMMATRIX M)
 
XMFINLINE XMFLOAT4XMPlaneTransformStream (XMFLOAT4 *pOutputStream, UINT OutputStride, CONST XMFLOAT4 *pInputStream, UINT InputStride, UINT PlaneCount, CXMMATRIX M)
 
XMFINLINE XMVECTOR XMPlaneFromPointNormal (FXMVECTOR Point, FXMVECTOR Normal)
 
XMFINLINE XMVECTOR XMPlaneFromPoints (FXMVECTOR Point1, FXMVECTOR Point2, FXMVECTOR Point3)
 
XMFINLINE BOOL XMColorEqual (FXMVECTOR C1, FXMVECTOR C2)
 
XMFINLINE BOOL XMColorNotEqual (FXMVECTOR C1, FXMVECTOR C2)
 
XMFINLINE BOOL XMColorGreater (FXMVECTOR C1, FXMVECTOR C2)
 
XMFINLINE BOOL XMColorGreaterOrEqual (FXMVECTOR C1, FXMVECTOR C2)
 
XMFINLINE BOOL XMColorLess (FXMVECTOR C1, FXMVECTOR C2)
 
XMFINLINE BOOL XMColorLessOrEqual (FXMVECTOR C1, FXMVECTOR C2)
 
XMFINLINE BOOL XMColorIsNaN (FXMVECTOR C)
 
XMFINLINE BOOL XMColorIsInfinite (FXMVECTOR C)
 
XMFINLINE XMVECTOR XMColorNegative (FXMVECTOR vColor)
 
XMFINLINE XMVECTOR XMColorModulate (FXMVECTOR C1, FXMVECTOR C2)
 
XMFINLINE XMVECTOR XMColorAdjustSaturation (FXMVECTOR vColor, FLOAT fSaturation)
 
XMFINLINE XMVECTOR XMColorAdjustContrast (FXMVECTOR vColor, FLOAT fContrast)
 
XMINLINE BOOL XMVerifyCPUSupport ()
 
XMINLINE VOID XMAssert (CONST CHAR *pExpression, CONST CHAR *pFileName, UINT LineNumber)
 
XMFINLINE XMVECTOR XMFresnelTerm (FXMVECTOR CosIncidentAngle, FXMVECTOR RefractionIndex)
 
XMFINLINE BOOL XMScalarNearEqual (FLOAT S1, FLOAT S2, FLOAT Epsilon)
 
XMFINLINE FLOAT XMScalarModAngle (FLOAT Angle)
 
XMINLINE FLOAT XMScalarSin (FLOAT Value)
 
XMINLINE FLOAT XMScalarCos (FLOAT Value)
 
XMINLINE VOID XMScalarSinCos (FLOAT *pSin, FLOAT *pCos, FLOAT Value)
 
XMINLINE FLOAT XMScalarASin (FLOAT Value)
 
XMINLINE FLOAT XMScalarACos (FLOAT Value)
 
XMFINLINE FLOAT XMScalarSinEst (FLOAT Value)
 
XMFINLINE FLOAT XMScalarCosEst (FLOAT Value)
 
XMFINLINE VOID XMScalarSinCosEst (FLOAT *pSin, FLOAT *pCos, FLOAT Value)
 
XMFINLINE FLOAT XMScalarASinEst (FLOAT Value)
 
XMFINLINE FLOAT XMScalarACosEst (FLOAT Value)
 

Macro Definition Documentation

◆ __XNAMATHMISC_INL__

#define __XNAMATHMISC_INL__

◆ XMASSERT_LINE_STRING_SIZE

#define XMASSERT_LINE_STRING_SIZE   16

Function Documentation

◆ XMAssert()

XMINLINE VOID XMAssert ( CONST CHAR *  pExpression,
CONST CHAR *  pFileName,
UINT  LineNumber 
)

◆ XMColorAdjustContrast()

XMFINLINE XMVECTOR XMColorAdjustContrast ( FXMVECTOR  vColor,
FLOAT  fContrast 
)

◆ XMColorAdjustSaturation()

XMFINLINE XMVECTOR XMColorAdjustSaturation ( FXMVECTOR  vColor,
FLOAT  fSaturation 
)

◆ XMColorEqual()

XMFINLINE BOOL XMColorEqual ( FXMVECTOR  C1,
FXMVECTOR  C2 
)
Here is the call graph for this function:

◆ XMColorGreater()

XMFINLINE BOOL XMColorGreater ( FXMVECTOR  C1,
FXMVECTOR  C2 
)
Here is the call graph for this function:

◆ XMColorGreaterOrEqual()

XMFINLINE BOOL XMColorGreaterOrEqual ( FXMVECTOR  C1,
FXMVECTOR  C2 
)
Here is the call graph for this function:

◆ XMColorIsInfinite()

XMFINLINE BOOL XMColorIsInfinite ( FXMVECTOR  C)
Here is the call graph for this function:

◆ XMColorIsNaN()

XMFINLINE BOOL XMColorIsNaN ( FXMVECTOR  C)
Here is the call graph for this function:

◆ XMColorLess()

XMFINLINE BOOL XMColorLess ( FXMVECTOR  C1,
FXMVECTOR  C2 
)
Here is the call graph for this function:

◆ XMColorLessOrEqual()

XMFINLINE BOOL XMColorLessOrEqual ( FXMVECTOR  C1,
FXMVECTOR  C2 
)
Here is the call graph for this function:

◆ XMColorModulate()

XMFINLINE XMVECTOR XMColorModulate ( FXMVECTOR  C1,
FXMVECTOR  C2 
)
Here is the call graph for this function:

◆ XMColorNegative()

XMFINLINE XMVECTOR XMColorNegative ( FXMVECTOR  vColor)

◆ XMColorNotEqual()

XMFINLINE BOOL XMColorNotEqual ( FXMVECTOR  C1,
FXMVECTOR  C2 
)
Here is the call graph for this function:

◆ XMFresnelTerm()

XMFINLINE XMVECTOR XMFresnelTerm ( FXMVECTOR  CosIncidentAngle,
FXMVECTOR  RefractionIndex 
)
Here is the call graph for this function:

◆ XMPlaneDot()

XMFINLINE XMVECTOR XMPlaneDot ( FXMVECTOR  P,
FXMVECTOR  V 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMPlaneDotCoord()

XMFINLINE XMVECTOR XMPlaneDotCoord ( FXMVECTOR  P,
FXMVECTOR  V 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMPlaneDotNormal()

XMFINLINE XMVECTOR XMPlaneDotNormal ( FXMVECTOR  P,
FXMVECTOR  V 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMPlaneEqual()

XMFINLINE BOOL XMPlaneEqual ( FXMVECTOR  P1,
FXMVECTOR  P2 
)
Here is the call graph for this function:

◆ XMPlaneFromPointNormal()

XMFINLINE XMVECTOR XMPlaneFromPointNormal ( FXMVECTOR  Point,
FXMVECTOR  Normal 
)
Here is the call graph for this function:

◆ XMPlaneFromPoints()

XMFINLINE XMVECTOR XMPlaneFromPoints ( FXMVECTOR  Point1,
FXMVECTOR  Point2,
FXMVECTOR  Point3 
)
Here is the call graph for this function:

◆ XMPlaneIntersectLine()

XMFINLINE XMVECTOR XMPlaneIntersectLine ( FXMVECTOR  P,
FXMVECTOR  LinePoint1,
FXMVECTOR  LinePoint2 
)
Here is the call graph for this function:

◆ XMPlaneIntersectPlane()

XMINLINE VOID XMPlaneIntersectPlane ( XMVECTOR pLinePoint1,
XMVECTOR pLinePoint2,
FXMVECTOR  P1,
FXMVECTOR  P2 
)
Here is the call graph for this function:

◆ XMPlaneIsInfinite()

XMFINLINE BOOL XMPlaneIsInfinite ( FXMVECTOR  P)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMPlaneIsNaN()

XMFINLINE BOOL XMPlaneIsNaN ( FXMVECTOR  P)
Here is the call graph for this function:

◆ XMPlaneNearEqual()

XMFINLINE BOOL XMPlaneNearEqual ( FXMVECTOR  P1,
FXMVECTOR  P2,
FXMVECTOR  Epsilon 
)
Here is the call graph for this function:

◆ XMPlaneNormalize()

XMFINLINE XMVECTOR XMPlaneNormalize ( FXMVECTOR  P)
Here is the caller graph for this function:

◆ XMPlaneNormalizeEst()

XMFINLINE XMVECTOR XMPlaneNormalizeEst ( FXMVECTOR  P)
Here is the call graph for this function:

◆ XMPlaneNotEqual()

XMFINLINE BOOL XMPlaneNotEqual ( FXMVECTOR  P1,
FXMVECTOR  P2 
)
Here is the call graph for this function:

◆ XMPlaneTransform()

XMFINLINE XMVECTOR XMPlaneTransform ( FXMVECTOR  P,
CXMMATRIX  M 
)
Here is the call graph for this function:

◆ XMPlaneTransformStream()

XMFINLINE XMFLOAT4* XMPlaneTransformStream ( XMFLOAT4 pOutputStream,
UINT  OutputStride,
CONST XMFLOAT4 pInputStream,
UINT  InputStride,
UINT  PlaneCount,
CXMMATRIX  M 
)
Here is the call graph for this function:

◆ XMQuaternionBaryCentric()

XMFINLINE XMVECTOR XMQuaternionBaryCentric ( FXMVECTOR  Q0,
FXMVECTOR  Q1,
FXMVECTOR  Q2,
FLOAT  f,
FLOAT  g 
)
Here is the call graph for this function:

◆ XMQuaternionBaryCentricV()

XMFINLINE XMVECTOR XMQuaternionBaryCentricV ( FXMVECTOR  Q0,
FXMVECTOR  Q1,
FXMVECTOR  Q2,
CXMVECTOR  F,
CXMVECTOR  G 
)
Here is the call graph for this function:

◆ XMQuaternionConjugate()

XMFINLINE XMVECTOR XMQuaternionConjugate ( FXMVECTOR  Q)
Here is the caller graph for this function:

◆ XMQuaternionDot()

XMFINLINE XMVECTOR XMQuaternionDot ( FXMVECTOR  Q1,
FXMVECTOR  Q2 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionEqual()

XMFINLINE BOOL XMQuaternionEqual ( FXMVECTOR  Q1,
FXMVECTOR  Q2 
)
Here is the call graph for this function:

◆ XMQuaternionExp()

XMFINLINE XMVECTOR XMQuaternionExp ( FXMVECTOR  Q)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionIdentity()

XMFINLINE XMVECTOR XMQuaternionIdentity ( )

◆ XMQuaternionInverse()

XMFINLINE XMVECTOR XMQuaternionInverse ( FXMVECTOR  Q)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionIsIdentity()

XMFINLINE BOOL XMQuaternionIsIdentity ( FXMVECTOR  Q)
Here is the call graph for this function:

◆ XMQuaternionIsInfinite()

XMFINLINE BOOL XMQuaternionIsInfinite ( FXMVECTOR  Q)
Here is the call graph for this function:

◆ XMQuaternionIsNaN()

XMFINLINE BOOL XMQuaternionIsNaN ( FXMVECTOR  Q)
Here is the call graph for this function:

◆ XMQuaternionLength()

XMFINLINE XMVECTOR XMQuaternionLength ( FXMVECTOR  Q)
Here is the call graph for this function:

◆ XMQuaternionLengthSq()

XMFINLINE XMVECTOR XMQuaternionLengthSq ( FXMVECTOR  Q)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionLn()

XMFINLINE XMVECTOR XMQuaternionLn ( FXMVECTOR  Q)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionMultiply()

XMFINLINE XMVECTOR XMQuaternionMultiply ( FXMVECTOR  Q1,
FXMVECTOR  Q2 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionNormalize()

XMFINLINE XMVECTOR XMQuaternionNormalize ( FXMVECTOR  Q)
Here is the call graph for this function:

◆ XMQuaternionNormalizeEst()

XMFINLINE XMVECTOR XMQuaternionNormalizeEst ( FXMVECTOR  Q)
Here is the call graph for this function:

◆ XMQuaternionNotEqual()

XMFINLINE BOOL XMQuaternionNotEqual ( FXMVECTOR  Q1,
FXMVECTOR  Q2 
)
Here is the call graph for this function:

◆ XMQuaternionReciprocalLength()

XMFINLINE XMVECTOR XMQuaternionReciprocalLength ( FXMVECTOR  Q)
Here is the call graph for this function:

◆ XMQuaternionRotationAxis()

XMFINLINE XMVECTOR XMQuaternionRotationAxis ( FXMVECTOR  Axis,
FLOAT  Angle 
)
Here is the call graph for this function:

◆ XMQuaternionRotationMatrix()

XMINLINE XMVECTOR XMQuaternionRotationMatrix ( CXMMATRIX  M)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionRotationNormal()

XMFINLINE XMVECTOR XMQuaternionRotationNormal ( FXMVECTOR  NormalAxis,
FLOAT  Angle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionRotationRollPitchYaw()

XMFINLINE XMVECTOR XMQuaternionRotationRollPitchYaw ( FLOAT  Pitch,
FLOAT  Yaw,
FLOAT  Roll 
)
Here is the call graph for this function:

◆ XMQuaternionRotationRollPitchYawFromVector()

XMFINLINE XMVECTOR XMQuaternionRotationRollPitchYawFromVector ( FXMVECTOR  Angles)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionSlerp()

XMINLINE XMVECTOR XMQuaternionSlerp ( FXMVECTOR  Q0,
FXMVECTOR  Q1,
FLOAT  t 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionSlerpV()

XMINLINE XMVECTOR XMQuaternionSlerpV ( FXMVECTOR  Q0,
FXMVECTOR  Q1,
FXMVECTOR  T 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionSquad()

XMFINLINE XMVECTOR XMQuaternionSquad ( FXMVECTOR  Q0,
FXMVECTOR  Q1,
FXMVECTOR  Q2,
CXMVECTOR  Q3,
FLOAT  t 
)
Here is the call graph for this function:

◆ XMQuaternionSquadSetup()

XMINLINE VOID XMQuaternionSquadSetup ( XMVECTOR pA,
XMVECTOR pB,
XMVECTOR pC,
FXMVECTOR  Q0,
FXMVECTOR  Q1,
FXMVECTOR  Q2,
CXMVECTOR  Q3 
)
Here is the call graph for this function:

◆ XMQuaternionSquadV()

XMFINLINE XMVECTOR XMQuaternionSquadV ( FXMVECTOR  Q0,
FXMVECTOR  Q1,
FXMVECTOR  Q2,
CXMVECTOR  Q3,
CXMVECTOR  T 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMQuaternionToAxisAngle()

XMFINLINE VOID XMQuaternionToAxisAngle ( XMVECTOR pAxis,
FLOAT pAngle,
FXMVECTOR  Q 
)
Here is the call graph for this function:

◆ XMScalarACos()

XMINLINE FLOAT XMScalarACos ( FLOAT  Value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMScalarACosEst()

XMFINLINE FLOAT XMScalarACosEst ( FLOAT  Value)
Here is the call graph for this function:

◆ XMScalarASin()

XMINLINE FLOAT XMScalarASin ( FLOAT  Value)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMScalarASinEst()

XMFINLINE FLOAT XMScalarASinEst ( FLOAT  Value)
Here is the call graph for this function:

◆ XMScalarCos()

XMINLINE FLOAT XMScalarCos ( FLOAT  Value)
Here is the call graph for this function:

◆ XMScalarCosEst()

XMFINLINE FLOAT XMScalarCosEst ( FLOAT  Value)
Here is the call graph for this function:

◆ XMScalarModAngle()

XMFINLINE FLOAT XMScalarModAngle ( FLOAT  Angle)
Here is the caller graph for this function:

◆ XMScalarNearEqual()

XMFINLINE BOOL XMScalarNearEqual ( FLOAT  S1,
FLOAT  S2,
FLOAT  Epsilon 
)
Here is the caller graph for this function:

◆ XMScalarSin()

XMINLINE FLOAT XMScalarSin ( FLOAT  Value)
Here is the call graph for this function:

◆ XMScalarSinCos()

XMINLINE VOID XMScalarSinCos ( FLOAT pSin,
FLOAT pCos,
FLOAT  Value 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMScalarSinCosEst()

XMFINLINE VOID XMScalarSinCosEst ( FLOAT pSin,
FLOAT pCos,
FLOAT  Value 
)
Here is the call graph for this function:

◆ XMScalarSinEst()

XMFINLINE FLOAT XMScalarSinEst ( FLOAT  Value)
Here is the call graph for this function:

◆ XMVerifyCPUSupport()

XMINLINE BOOL XMVerifyCPUSupport ( )