ReactOS
0.4.14-dev-604-gcfdd483
|
Go to the source code of this file.
Classes | |
struct | D3DXVECTOR2 |
struct | D3DXVECTOR4 |
struct | D3DXQUATERNION |
struct | D3DXPLANE |
struct | D3DXCOLOR |
struct | D3DXFLOAT16 |
Typedefs | |
typedef struct D3DXVECTOR2 | D3DXVECTOR2 |
typedef struct D3DXVECTOR2 * | LPD3DXVECTOR2 |
typedef struct _D3DVECTOR | D3DXVECTOR3 |
typedef struct _D3DVECTOR * | LPD3DXVECTOR3 |
typedef struct D3DXVECTOR4 | D3DXVECTOR4 |
typedef struct D3DXVECTOR4 * | LPD3DXVECTOR4 |
typedef struct _D3DMATRIX | D3DXMATRIX |
typedef struct _D3DMATRIX * | LPD3DXMATRIX |
typedef struct D3DXQUATERNION | D3DXQUATERNION |
typedef struct D3DXQUATERNION * | LPD3DXQUATERNION |
typedef struct D3DXPLANE | D3DXPLANE |
typedef struct D3DXPLANE * | LPD3DXPLANE |
typedef struct D3DXCOLOR | D3DXCOLOR |
typedef struct D3DXCOLOR * | LPD3DXCOLOR |
typedef struct D3DXFLOAT16 | D3DXFLOAT16 |
typedef struct D3DXFLOAT16 * | LPD3DXFLOAT16 |
typedef interface ID3DXMatrixStack * | LPD3DXMATRIXSTACK |
Definition at line 28 of file d3dx9math.h.
Definition at line 27 of file d3dx9math.h.
#define D3DXSH_MAXORDER 6 |
Definition at line 31 of file d3dx9math.h.
#define D3DXSH_MINORDER 2 |
Definition at line 30 of file d3dx9math.h.
#define D3DXToDegree | ( | radian | ) | ((radian) * (180.0f / D3DX_PI)) |
Definition at line 34 of file d3dx9math.h.
Definition at line 33 of file d3dx9math.h.
Definition at line 442 of file d3dx9math.h.
Definition at line 458 of file d3dx9math.h.
Definition at line 446 of file d3dx9math.h.
Definition at line 447 of file d3dx9math.h.
Definition at line 448 of file d3dx9math.h.
Definition at line 449 of file d3dx9math.h.
Definition at line 441 of file d3dx9math.h.
Definition at line 443 of file d3dx9math.h.
Definition at line 450 of file d3dx9math.h.
Definition at line 451 of file d3dx9math.h.
Definition at line 452 of file d3dx9math.h.
#define ID3DXMatrixStack_RotateYawPitchRollLocal | ( | p, | |
a, | |||
b, | |||
c | |||
) | (p)->lpVtbl->RotateYawPitchRollLocal(p,a,b,c) |
Definition at line 453 of file d3dx9math.h.
Definition at line 454 of file d3dx9math.h.
Definition at line 455 of file d3dx9math.h.
Definition at line 456 of file d3dx9math.h.
Definition at line 457 of file d3dx9math.h.
Definition at line 413 of file d3dx9math.h.
typedef struct D3DXFLOAT16 D3DXFLOAT16 |
typedef struct _D3DMATRIX D3DXMATRIX |
Definition at line 169 of file d3dx9math.h.
typedef struct D3DXQUATERNION D3DXQUATERNION |
typedef struct D3DXVECTOR2 D3DXVECTOR2 |
typedef struct _D3DVECTOR D3DXVECTOR3 |
Definition at line 97 of file d3dx9math.h.
typedef struct D3DXVECTOR4 D3DXVECTOR4 |
typedef struct D3DXCOLOR * LPD3DXCOLOR |
typedef struct D3DXFLOAT16 * LPD3DXFLOAT16 |
typedef struct _D3DMATRIX * LPD3DXMATRIX |
Definition at line 169 of file d3dx9math.h.
typedef interface ID3DXMatrixStack* LPD3DXMATRIXSTACK |
Definition at line 407 of file d3dx9math.h.
typedef struct D3DXPLANE * LPD3DXPLANE |
typedef struct D3DXQUATERNION * LPD3DXQUATERNION |
typedef struct D3DXVECTOR2 * LPD3DXVECTOR2 |
typedef struct _D3DVECTOR * LPD3DXVECTOR3 |
Definition at line 97 of file d3dx9math.h.
typedef struct D3DXVECTOR4 * LPD3DXVECTOR4 |
Definition at line 1215 of file math.c.
Definition at line 2265 of file math.c.
Referenced by convert_component(), weld_float16_2(), and weld_float16_4().
D3DXFLOAT16* WINAPI D3DXFloat32To16Array | ( | D3DXFLOAT16 * | pout, |
const FLOAT * | pin, | ||
UINT | n | ||
) |
Definition at line 2231 of file math.c.
Referenced by convert_float4().
D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation | ( | D3DXMATRIX * | pout, |
FLOAT | scaling, | ||
const D3DXVECTOR3 * | rotationcenter, | ||
const D3DXQUATERNION * | rotation, | ||
const D3DXVECTOR3 * | translation | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation2D | ( | D3DXMATRIX * | pout, |
FLOAT | scaling, | ||
const D3DXVECTOR2 * | protationcenter, | ||
FLOAT | rotation, | ||
const D3DXVECTOR2 * | ptranslation | ||
) |
HRESULT WINAPI D3DXMatrixDecompose | ( | D3DXVECTOR3 * | poutscale, |
D3DXQUATERNION * | poutrotation, | ||
D3DXVECTOR3 * | pouttranslation, | ||
const D3DXMATRIX * | pm | ||
) |
Definition at line 187 of file math.c.
D3DXMATRIX* WINAPI D3DXMatrixInverse | ( | D3DXMATRIX * | pout, |
FLOAT * | pdeterminant, | ||
const D3DXMATRIX * | pm | ||
) |
Definition at line 254 of file math.c.
Referenced by d3dx9_skin_info_UpdateSkinnedMesh(), D3DXIntersectTri(), and D3DXVec3Unproject().
D3DXMATRIX* WINAPI D3DXMatrixLookAtLH | ( | D3DXMATRIX * | pout, |
const D3DXVECTOR3 * | peye, | ||
const D3DXVECTOR3 * | pat, | ||
const D3DXVECTOR3 * | pup | ||
) |
Definition at line 327 of file math.c.
D3DXMATRIX* WINAPI D3DXMatrixLookAtRH | ( | D3DXMATRIX * | pout, |
const D3DXVECTOR3 * | peye, | ||
const D3DXVECTOR3 * | pat, | ||
const D3DXVECTOR3 * | pup | ||
) |
Definition at line 360 of file math.c.
D3DXMATRIX* WINAPI D3DXMatrixMultiply | ( | D3DXMATRIX * | pout, |
const D3DXMATRIX * | pm1, | ||
const D3DXMATRIX * | pm2 | ||
) |
Definition at line 393 of file math.c.
Referenced by d3dx9_skin_info_UpdateSkinnedMesh(), D3DXMatrixTransformation(), D3DXVec3Project(), D3DXVec3Unproject(), ID3DXMatrixStackImpl_MultMatrix(), ID3DXMatrixStackImpl_MultMatrixLocal(), ID3DXMatrixStackImpl_RotateAxis(), ID3DXMatrixStackImpl_RotateAxisLocal(), ID3DXMatrixStackImpl_RotateYawPitchRoll(), ID3DXMatrixStackImpl_RotateYawPitchRollLocal(), ID3DXMatrixStackImpl_Scale(), ID3DXMatrixStackImpl_ScaleLocal(), ID3DXMatrixStackImpl_Translate(), ID3DXMatrixStackImpl_TranslateLocal(), and parse_frame().
D3DXMATRIX* WINAPI D3DXMatrixMultiplyTranspose | ( | D3DXMATRIX * | pout, |
const D3DXMATRIX * | pm1, | ||
const D3DXMATRIX * | pm2 | ||
) |
Definition at line 412 of file math.c.
D3DXMATRIX* WINAPI D3DXMatrixOrthoLH | ( | D3DXMATRIX * | pout, |
FLOAT | w, | ||
FLOAT | h, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixOrthoOffCenterLH | ( | D3DXMATRIX * | pout, |
FLOAT | l, | ||
FLOAT | r, | ||
FLOAT | b, | ||
FLOAT | t, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixOrthoOffCenterRH | ( | D3DXMATRIX * | pout, |
FLOAT | l, | ||
FLOAT | r, | ||
FLOAT | b, | ||
FLOAT | t, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixOrthoRH | ( | D3DXMATRIX * | pout, |
FLOAT | w, | ||
FLOAT | h, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixPerspectiveFovLH | ( | D3DXMATRIX * | pout, |
FLOAT | fovy, | ||
FLOAT | aspect, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixPerspectiveFovRH | ( | D3DXMATRIX * | pout, |
FLOAT | fovy, | ||
FLOAT | aspect, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixPerspectiveLH | ( | D3DXMATRIX * | pout, |
FLOAT | w, | ||
FLOAT | h, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixPerspectiveOffCenterLH | ( | D3DXMATRIX * | pout, |
FLOAT | l, | ||
FLOAT | r, | ||
FLOAT | b, | ||
FLOAT | t, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixPerspectiveOffCenterRH | ( | D3DXMATRIX * | pout, |
FLOAT | l, | ||
FLOAT | r, | ||
FLOAT | b, | ||
FLOAT | t, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixPerspectiveRH | ( | D3DXMATRIX * | pout, |
FLOAT | w, | ||
FLOAT | h, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixReflect | ( | D3DXMATRIX * | pout, |
const D3DXPLANE * | pplane | ||
) |
Definition at line 567 of file math.c.
D3DXMATRIX* WINAPI D3DXMatrixRotationAxis | ( | D3DXMATRIX * | pout, |
const D3DXVECTOR3 * | pv, | ||
FLOAT | angle | ||
) |
Definition at line 590 of file math.c.
Referenced by ID3DXMatrixStackImpl_RotateAxis(), and ID3DXMatrixStackImpl_RotateAxisLocal().
D3DXMATRIX* WINAPI D3DXMatrixRotationQuaternion | ( | D3DXMATRIX * | pout, |
const D3DXQUATERNION * | pq | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixRotationX | ( | D3DXMATRIX * | pout, |
FLOAT | angle | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixRotationY | ( | D3DXMATRIX * | pout, |
FLOAT | angle | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixRotationYawPitchRoll | ( | D3DXMATRIX * | pout, |
FLOAT | yaw, | ||
FLOAT | pitch, | ||
FLOAT | roll | ||
) |
Definition at line 663 of file math.c.
Referenced by ID3DXMatrixStackImpl_RotateYawPitchRoll(), and ID3DXMatrixStackImpl_RotateYawPitchRollLocal().
D3DXMATRIX* WINAPI D3DXMatrixRotationZ | ( | D3DXMATRIX * | pout, |
FLOAT | angle | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixScaling | ( | D3DXMATRIX * | pout, |
FLOAT | sx, | ||
FLOAT | sy, | ||
FLOAT | sz | ||
) |
Definition at line 708 of file math.c.
Referenced by D3DXMatrixTransformation(), ID3DXMatrixStackImpl_Scale(), and ID3DXMatrixStackImpl_ScaleLocal().
D3DXMATRIX* WINAPI D3DXMatrixShadow | ( | D3DXMATRIX * | pout, |
const D3DXVECTOR4 * | plight, | ||
const D3DXPLANE * | pPlane | ||
) |
Definition at line 719 of file math.c.
D3DXMATRIX* WINAPI D3DXMatrixTransformation | ( | D3DXMATRIX * | pout, |
const D3DXVECTOR3 * | pscalingcenter, | ||
const D3DXQUATERNION * | pscalingrotation, | ||
const D3DXVECTOR3 * | pscaling, | ||
const D3DXVECTOR3 * | protationcenter, | ||
const D3DXQUATERNION * | protation, | ||
const D3DXVECTOR3 * | ptranslation | ||
) |
Definition at line 747 of file math.c.
Referenced by D3DXMatrixTransformation2D().
D3DXMATRIX* WINAPI D3DXMatrixTransformation2D | ( | D3DXMATRIX * | pout, |
const D3DXVECTOR2 * | pscalingcenter, | ||
FLOAT | scalingrotation, | ||
const D3DXVECTOR2 * | pscaling, | ||
const D3DXVECTOR2 * | protationcenter, | ||
FLOAT | rotation, | ||
const D3DXVECTOR2 * | ptranslation | ||
) |
Definition at line 835 of file math.c.
D3DXMATRIX* WINAPI D3DXMatrixTranslation | ( | D3DXMATRIX * | pout, |
FLOAT | x, | ||
FLOAT | y, | ||
FLOAT | z | ||
) |
Definition at line 910 of file math.c.
Referenced by D3DXMatrixTransformation(), ID3DXMatrixStackImpl_Translate(), and ID3DXMatrixStackImpl_TranslateLocal().
D3DXMATRIX* WINAPI D3DXMatrixTranspose | ( | D3DXMATRIX * | pout, |
const D3DXMATRIX * | pm | ||
) |
Definition at line 921 of file math.c.
Referenced by set().
D3DXPLANE* WINAPI D3DXPlaneFromPointNormal | ( | D3DXPLANE * | pout, |
const D3DXVECTOR3 * | pvpoint, | ||
const D3DXVECTOR3 * | pvnormal | ||
) |
D3DXPLANE* WINAPI D3DXPlaneFromPoints | ( | D3DXPLANE * | pout, |
const D3DXVECTOR3 * | pv1, | ||
const D3DXVECTOR3 * | pv2, | ||
const D3DXVECTOR3 * | pv3 | ||
) |
Definition at line 1259 of file math.c.
D3DXVECTOR3* WINAPI D3DXPlaneIntersectLine | ( | D3DXVECTOR3 * | pout, |
const D3DXPLANE * | pp, | ||
const D3DXVECTOR3 * | pv1, | ||
const D3DXVECTOR3 * | pv2 | ||
) |
D3DXPLANE* WINAPI D3DXPlaneTransform | ( | D3DXPLANE * | pout, |
const D3DXPLANE * | pplane, | ||
const D3DXMATRIX * | pm | ||
) |
Definition at line 1322 of file math.c.
Referenced by D3DXPlaneTransformArray().
D3DXPLANE* WINAPI D3DXPlaneTransformArray | ( | D3DXPLANE * | pout, |
UINT | outstride, | ||
const D3DXPLANE * | pplane, | ||
UINT | pstride, | ||
const D3DXMATRIX * | pm, | ||
UINT | n | ||
) |
Definition at line 1335 of file math.c.
D3DXQUATERNION* WINAPI D3DXQuaternionBaryCentric | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2, | ||
const D3DXQUATERNION * | pq3, | ||
FLOAT | f, | ||
FLOAT | g | ||
) |
Definition at line 1352 of file math.c.
D3DXQUATERNION* WINAPI D3DXQuaternionExp | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq | ||
) |
D3DXQUATERNION* WINAPI D3DXQuaternionInverse | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq | ||
) |
D3DXQUATERNION* WINAPI D3DXQuaternionLn | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq | ||
) |
D3DXQUATERNION* WINAPI D3DXQuaternionMultiply | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2 | ||
) |
Definition at line 1421 of file math.c.
Referenced by D3DXQuaternionSquadSetup().
D3DXQUATERNION* WINAPI D3DXQuaternionNormalize | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq | ||
) |
D3DXQUATERNION* WINAPI D3DXQuaternionRotationAxis | ( | D3DXQUATERNION * | pout, |
const D3DXVECTOR3 * | pv, | ||
FLOAT | angle | ||
) |
Definition at line 1451 of file math.c.
D3DXQUATERNION* WINAPI D3DXQuaternionRotationMatrix | ( | D3DXQUATERNION * | pout, |
const D3DXMATRIX * | pm | ||
) |
Definition at line 1467 of file math.c.
Referenced by D3DXMatrixDecompose().
D3DXQUATERNION* WINAPI D3DXQuaternionRotationYawPitchRoll | ( | D3DXQUATERNION * | pout, |
FLOAT | yaw, | ||
FLOAT | pitch, | ||
FLOAT | roll | ||
) |
D3DXQUATERNION* WINAPI D3DXQuaternionSlerp | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2, | ||
FLOAT | t | ||
) |
Definition at line 1544 of file math.c.
Referenced by D3DXQuaternionBaryCentric(), and D3DXQuaternionSquad().
D3DXQUATERNION* WINAPI D3DXQuaternionSquad | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2, | ||
const D3DXQUATERNION * | pq3, | ||
const D3DXQUATERNION * | pq4, | ||
FLOAT | t | ||
) |
Definition at line 1575 of file math.c.
void WINAPI D3DXQuaternionSquadSetup | ( | D3DXQUATERNION * | paout, |
D3DXQUATERNION * | pbout, | ||
D3DXQUATERNION * | pcout, | ||
const D3DXQUATERNION * | pq0, | ||
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2, | ||
const D3DXQUATERNION * | pq3 | ||
) |
Definition at line 1597 of file math.c.
void WINAPI D3DXQuaternionToAxisAngle | ( | const D3DXQUATERNION * | pq, |
D3DXVECTOR3 * | paxis, | ||
FLOAT * | pangle | ||
) |
Definition at line 2281 of file math.c.
Definition at line 2293 of file math.c.
Referenced by D3DXSHMultiply2().
HRESULT WINAPI D3DXSHEvalConeLight | ( | UINT | order, |
const D3DXVECTOR3 * | dir, | ||
FLOAT | radius, | ||
FLOAT | Rintensity, | ||
FLOAT | Gintensity, | ||
FLOAT | Bintensity, | ||
FLOAT * | rout, | ||
FLOAT * | gout, | ||
FLOAT * | bout | ||
) |
Definition at line 2336 of file math.c.
Definition at line 2380 of file math.c.
Referenced by D3DXSHEvalConeLight(), D3DXSHEvalDirectionalLight(), D3DXSHEvalHemisphereLight(), and D3DXSHEvalSphericalLight().
HRESULT WINAPI D3DXSHEvalDirectionalLight | ( | UINT | order, |
const D3DXVECTOR3 * | dir, | ||
FLOAT | Rintensity, | ||
FLOAT | Gintensity, | ||
FLOAT | Bintensity, | ||
FLOAT * | rout, | ||
FLOAT * | gout, | ||
FLOAT * | bout | ||
) |
Definition at line 2450 of file math.c.
Referenced by D3DXSHEvalConeLight().
HRESULT WINAPI D3DXSHEvalHemisphereLight | ( | UINT | order, |
const D3DXVECTOR3 * | dir, | ||
D3DXCOLOR | top, | ||
D3DXCOLOR | bottom, | ||
FLOAT * | rout, | ||
FLOAT * | gout, | ||
FLOAT * | bout | ||
) |
Definition at line 2479 of file math.c.
HRESULT WINAPI D3DXSHEvalSphericalLight | ( | UINT | order, |
const D3DXVECTOR3 * | dir, | ||
FLOAT | radius, | ||
FLOAT | Rintensity, | ||
FLOAT | Gintensity, | ||
FLOAT | Bintensity, | ||
FLOAT * | rout, | ||
FLOAT * | gout, | ||
FLOAT * | bout | ||
) |
Definition at line 2525 of file math.c.