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

Macros

#define __XNAMATHMATRIX_INL__
 
#define XMRANKDECOMPOSE(a, b, c, x, y, z)
 
#define XM_DECOMP_EPSILON   0.0001f
 

Functions

XMFINLINE BOOL XMMatrixIsNaN (CXMMATRIX M)
 
XMFINLINE BOOL XMMatrixIsInfinite (CXMMATRIX M)
 
XMFINLINE BOOL XMMatrixIsIdentity (CXMMATRIX M)
 
XMFINLINE XMMATRIX XMMatrixMultiply (CXMMATRIX M1, CXMMATRIX M2)
 
XMFINLINE XMMATRIX XMMatrixMultiplyTranspose (CXMMATRIX M1, CXMMATRIX M2)
 
XMFINLINE XMMATRIX XMMatrixTranspose (CXMMATRIX M)
 
XMINLINE XMMATRIX XMMatrixInverse (XMVECTOR *pDeterminant, CXMMATRIX M)
 
XMINLINE XMVECTOR XMMatrixDeterminant (CXMMATRIX M)
 
XMINLINE BOOL XMMatrixDecompose (XMVECTOR *outScale, XMVECTOR *outRotQuat, XMVECTOR *outTrans, CXMMATRIX M)
 
XMFINLINE XMMATRIX XMMatrixIdentity ()
 
XMFINLINE XMMATRIX XMMatrixSet (FLOAT m00, FLOAT m01, FLOAT m02, FLOAT m03, FLOAT m10, FLOAT m11, FLOAT m12, FLOAT m13, FLOAT m20, FLOAT m21, FLOAT m22, FLOAT m23, FLOAT m30, FLOAT m31, FLOAT m32, FLOAT m33)
 
XMFINLINE XMMATRIX XMMatrixTranslation (FLOAT OffsetX, FLOAT OffsetY, FLOAT OffsetZ)
 
XMFINLINE XMMATRIX XMMatrixTranslationFromVector (FXMVECTOR Offset)
 
XMFINLINE XMMATRIX XMMatrixScaling (FLOAT ScaleX, FLOAT ScaleY, FLOAT ScaleZ)
 
XMFINLINE XMMATRIX XMMatrixScalingFromVector (FXMVECTOR Scale)
 
XMINLINE XMMATRIX XMMatrixRotationX (FLOAT Angle)
 
XMINLINE XMMATRIX XMMatrixRotationY (FLOAT Angle)
 
XMINLINE XMMATRIX XMMatrixRotationZ (FLOAT Angle)
 
XMINLINE XMMATRIX XMMatrixRotationRollPitchYaw (FLOAT Pitch, FLOAT Yaw, FLOAT Roll)
 
XMINLINE XMMATRIX XMMatrixRotationRollPitchYawFromVector (FXMVECTOR Angles)
 
XMINLINE XMMATRIX XMMatrixRotationNormal (FXMVECTOR NormalAxis, FLOAT Angle)
 
XMINLINE XMMATRIX XMMatrixRotationAxis (FXMVECTOR Axis, FLOAT Angle)
 
XMFINLINE XMMATRIX XMMatrixRotationQuaternion (FXMVECTOR Quaternion)
 
XMINLINE XMMATRIX XMMatrixTransformation2D (FXMVECTOR ScalingOrigin, FLOAT ScalingOrientation, FXMVECTOR Scaling, FXMVECTOR RotationOrigin, FLOAT Rotation, CXMVECTOR Translation)
 
XMINLINE XMMATRIX XMMatrixTransformation (FXMVECTOR ScalingOrigin, FXMVECTOR ScalingOrientationQuaternion, FXMVECTOR Scaling, CXMVECTOR RotationOrigin, CXMVECTOR RotationQuaternion, CXMVECTOR Translation)
 
XMINLINE XMMATRIX XMMatrixAffineTransformation2D (FXMVECTOR Scaling, FXMVECTOR RotationOrigin, FLOAT Rotation, FXMVECTOR Translation)
 
XMINLINE XMMATRIX XMMatrixAffineTransformation (FXMVECTOR Scaling, FXMVECTOR RotationOrigin, FXMVECTOR RotationQuaternion, CXMVECTOR Translation)
 
XMFINLINE XMMATRIX XMMatrixReflect (FXMVECTOR ReflectionPlane)
 
XMFINLINE XMMATRIX XMMatrixShadow (FXMVECTOR ShadowPlane, FXMVECTOR LightPosition)
 
XMFINLINE XMMATRIX XMMatrixLookAtLH (FXMVECTOR EyePosition, FXMVECTOR FocusPosition, FXMVECTOR UpDirection)
 
XMFINLINE XMMATRIX XMMatrixLookAtRH (FXMVECTOR EyePosition, FXMVECTOR FocusPosition, FXMVECTOR UpDirection)
 
XMINLINE XMMATRIX XMMatrixLookToLH (FXMVECTOR EyePosition, FXMVECTOR EyeDirection, FXMVECTOR UpDirection)
 
XMFINLINE XMMATRIX XMMatrixLookToRH (FXMVECTOR EyePosition, FXMVECTOR EyeDirection, FXMVECTOR UpDirection)
 
XMFINLINE XMMATRIX XMMatrixPerspectiveLH (FLOAT ViewWidth, FLOAT ViewHeight, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixPerspectiveRH (FLOAT ViewWidth, FLOAT ViewHeight, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixPerspectiveFovLH (FLOAT FovAngleY, FLOAT AspectRatio, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixPerspectiveFovRH (FLOAT FovAngleY, FLOAT AspectRatio, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixPerspectiveOffCenterLH (FLOAT ViewLeft, FLOAT ViewRight, FLOAT ViewBottom, FLOAT ViewTop, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixPerspectiveOffCenterRH (FLOAT ViewLeft, FLOAT ViewRight, FLOAT ViewBottom, FLOAT ViewTop, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixOrthographicLH (FLOAT ViewWidth, FLOAT ViewHeight, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixOrthographicRH (FLOAT ViewWidth, FLOAT ViewHeight, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixOrthographicOffCenterLH (FLOAT ViewLeft, FLOAT ViewRight, FLOAT ViewBottom, FLOAT ViewTop, FLOAT NearZ, FLOAT FarZ)
 
XMFINLINE XMMATRIX XMMatrixOrthographicOffCenterRH (FLOAT ViewLeft, FLOAT ViewRight, FLOAT ViewBottom, FLOAT ViewTop, FLOAT NearZ, FLOAT FarZ)
 

Macro Definition Documentation

◆ __XNAMATHMATRIX_INL__

#define __XNAMATHMATRIX_INL__

◆ XM_DECOMP_EPSILON

#define XM_DECOMP_EPSILON   0.0001f

◆ XMRANKDECOMPOSE

#define XMRANKDECOMPOSE (   a,
  b,
  c,
  x,
  y,
  z 
)

Function Documentation

◆ XMMatrixAffineTransformation()

XMINLINE XMMATRIX XMMatrixAffineTransformation ( FXMVECTOR  Scaling,
FXMVECTOR  RotationOrigin,
FXMVECTOR  RotationQuaternion,
CXMVECTOR  Translation 
)
Here is the call graph for this function:

◆ XMMatrixAffineTransformation2D()

XMINLINE XMMATRIX XMMatrixAffineTransformation2D ( FXMVECTOR  Scaling,
FXMVECTOR  RotationOrigin,
FLOAT  Rotation,
FXMVECTOR  Translation 
)
Here is the call graph for this function:

◆ XMMatrixDecompose()

XMINLINE BOOL XMMatrixDecompose ( XMVECTOR outScale,
XMVECTOR outRotQuat,
XMVECTOR outTrans,
CXMMATRIX  M 
)
Here is the call graph for this function:

◆ XMMatrixDeterminant()

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

◆ XMMatrixIdentity()

XMFINLINE XMMATRIX XMMatrixIdentity ( )

◆ XMMatrixInverse()

XMINLINE XMMATRIX XMMatrixInverse ( XMVECTOR pDeterminant,
CXMMATRIX  M 
)
Here is the call graph for this function:

◆ XMMatrixIsIdentity()

XMFINLINE BOOL XMMatrixIsIdentity ( CXMMATRIX  M)

◆ XMMatrixIsInfinite()

XMFINLINE BOOL XMMatrixIsInfinite ( CXMMATRIX  M)

◆ XMMatrixIsNaN()

XMFINLINE BOOL XMMatrixIsNaN ( CXMMATRIX  M)

◆ XMMatrixLookAtLH()

XMFINLINE XMMATRIX XMMatrixLookAtLH ( FXMVECTOR  EyePosition,
FXMVECTOR  FocusPosition,
FXMVECTOR  UpDirection 
)
Here is the call graph for this function:

◆ XMMatrixLookAtRH()

XMFINLINE XMMATRIX XMMatrixLookAtRH ( FXMVECTOR  EyePosition,
FXMVECTOR  FocusPosition,
FXMVECTOR  UpDirection 
)
Here is the call graph for this function:

◆ XMMatrixLookToLH()

XMINLINE XMMATRIX XMMatrixLookToLH ( FXMVECTOR  EyePosition,
FXMVECTOR  EyeDirection,
FXMVECTOR  UpDirection 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMMatrixLookToRH()

XMFINLINE XMMATRIX XMMatrixLookToRH ( FXMVECTOR  EyePosition,
FXMVECTOR  EyeDirection,
FXMVECTOR  UpDirection 
)
Here is the call graph for this function:

◆ XMMatrixMultiply()

XMFINLINE XMMATRIX XMMatrixMultiply ( CXMMATRIX  M1,
CXMMATRIX  M2 
)
Here is the caller graph for this function:

◆ XMMatrixMultiplyTranspose()

XMFINLINE XMMATRIX XMMatrixMultiplyTranspose ( CXMMATRIX  M1,
CXMMATRIX  M2 
)
Here is the call graph for this function:

◆ XMMatrixOrthographicLH()

XMFINLINE XMMATRIX XMMatrixOrthographicLH ( FLOAT  ViewWidth,
FLOAT  ViewHeight,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixOrthographicOffCenterLH()

XMFINLINE XMMATRIX XMMatrixOrthographicOffCenterLH ( FLOAT  ViewLeft,
FLOAT  ViewRight,
FLOAT  ViewBottom,
FLOAT  ViewTop,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixOrthographicOffCenterRH()

XMFINLINE XMMATRIX XMMatrixOrthographicOffCenterRH ( FLOAT  ViewLeft,
FLOAT  ViewRight,
FLOAT  ViewBottom,
FLOAT  ViewTop,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixOrthographicRH()

XMFINLINE XMMATRIX XMMatrixOrthographicRH ( FLOAT  ViewWidth,
FLOAT  ViewHeight,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixPerspectiveFovLH()

XMFINLINE XMMATRIX XMMatrixPerspectiveFovLH ( FLOAT  FovAngleY,
FLOAT  AspectRatio,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixPerspectiveFovRH()

XMFINLINE XMMATRIX XMMatrixPerspectiveFovRH ( FLOAT  FovAngleY,
FLOAT  AspectRatio,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixPerspectiveLH()

XMFINLINE XMMATRIX XMMatrixPerspectiveLH ( FLOAT  ViewWidth,
FLOAT  ViewHeight,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixPerspectiveOffCenterLH()

XMFINLINE XMMATRIX XMMatrixPerspectiveOffCenterLH ( FLOAT  ViewLeft,
FLOAT  ViewRight,
FLOAT  ViewBottom,
FLOAT  ViewTop,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixPerspectiveOffCenterRH()

XMFINLINE XMMATRIX XMMatrixPerspectiveOffCenterRH ( FLOAT  ViewLeft,
FLOAT  ViewRight,
FLOAT  ViewBottom,
FLOAT  ViewTop,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixPerspectiveRH()

XMFINLINE XMMATRIX XMMatrixPerspectiveRH ( FLOAT  ViewWidth,
FLOAT  ViewHeight,
FLOAT  NearZ,
FLOAT  FarZ 
)
Here is the call graph for this function:

◆ XMMatrixReflect()

XMFINLINE XMMATRIX XMMatrixReflect ( FXMVECTOR  ReflectionPlane)
Here is the call graph for this function:

◆ XMMatrixRotationAxis()

XMINLINE XMMATRIX XMMatrixRotationAxis ( FXMVECTOR  Axis,
FLOAT  Angle 
)
Here is the call graph for this function:

◆ XMMatrixRotationNormal()

XMINLINE XMMATRIX XMMatrixRotationNormal ( FXMVECTOR  NormalAxis,
FLOAT  Angle 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMMatrixRotationQuaternion()

XMFINLINE XMMATRIX XMMatrixRotationQuaternion ( FXMVECTOR  Quaternion)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMMatrixRotationRollPitchYaw()

XMINLINE XMMATRIX XMMatrixRotationRollPitchYaw ( FLOAT  Pitch,
FLOAT  Yaw,
FLOAT  Roll 
)
Here is the call graph for this function:

◆ XMMatrixRotationRollPitchYawFromVector()

XMINLINE XMMATRIX XMMatrixRotationRollPitchYawFromVector ( FXMVECTOR  Angles)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ XMMatrixRotationX()

XMINLINE XMMATRIX XMMatrixRotationX ( FLOAT  Angle)

◆ XMMatrixRotationY()

XMINLINE XMMATRIX XMMatrixRotationY ( FLOAT  Angle)

◆ XMMatrixRotationZ()

XMINLINE XMMATRIX XMMatrixRotationZ ( FLOAT  Angle)
Here is the caller graph for this function:

◆ XMMatrixScaling()

XMFINLINE XMMATRIX XMMatrixScaling ( FLOAT  ScaleX,
FLOAT  ScaleY,
FLOAT  ScaleZ 
)
Here is the call graph for this function:

◆ XMMatrixScalingFromVector()

XMFINLINE XMMATRIX XMMatrixScalingFromVector ( FXMVECTOR  Scale)
Here is the caller graph for this function:

◆ XMMatrixSet()

XMFINLINE XMMATRIX XMMatrixSet ( FLOAT  m00,
FLOAT  m01,
FLOAT  m02,
FLOAT  m03,
FLOAT  m10,
FLOAT  m11,
FLOAT  m12,
FLOAT  m13,
FLOAT  m20,
FLOAT  m21,
FLOAT  m22,
FLOAT  m23,
FLOAT  m30,
FLOAT  m31,
FLOAT  m32,
FLOAT  m33 
)
Here is the call graph for this function:

◆ XMMatrixShadow()

XMFINLINE XMMATRIX XMMatrixShadow ( FXMVECTOR  ShadowPlane,
FXMVECTOR  LightPosition 
)
Here is the call graph for this function:

◆ XMMatrixTransformation()

XMINLINE XMMATRIX XMMatrixTransformation ( FXMVECTOR  ScalingOrigin,
FXMVECTOR  ScalingOrientationQuaternion,
FXMVECTOR  Scaling,
CXMVECTOR  RotationOrigin,
CXMVECTOR  RotationQuaternion,
CXMVECTOR  Translation 
)
Here is the call graph for this function:

◆ XMMatrixTransformation2D()

XMINLINE XMMATRIX XMMatrixTransformation2D ( FXMVECTOR  ScalingOrigin,
FLOAT  ScalingOrientation,
FXMVECTOR  Scaling,
FXMVECTOR  RotationOrigin,
FLOAT  Rotation,
CXMVECTOR  Translation 
)
Here is the call graph for this function:

◆ XMMatrixTranslation()

XMFINLINE XMMATRIX XMMatrixTranslation ( FLOAT  OffsetX,
FLOAT  OffsetY,
FLOAT  OffsetZ 
)

◆ XMMatrixTranslationFromVector()

XMFINLINE XMMATRIX XMMatrixTranslationFromVector ( FXMVECTOR  Offset)
Here is the caller graph for this function:

◆ XMMatrixTranspose()

XMFINLINE XMMATRIX XMMatrixTranspose ( CXMMATRIX  M)
Here is the call graph for this function:
Here is the caller graph for this function: