ReactOS
0.4.15-dev-2144-g2282205
|
Go to the source code of this file.
Classes | |
struct | ID3DXMatrixStackImpl |
Variables | |
static const unsigned int | INITIAL_STACK_SIZE = 32 |
static const ID3DXMatrixStackVtbl | ID3DXMatrixStack_Vtbl |
|
static |
Definition at line 1541 of file math.c.
Referenced by D3DXQuaternionSquadSetup().
Definition at line 1171 of file math.c.
Referenced by test_matrix_stack().
Definition at line 2221 of file math.c.
Referenced by convert_component(), test_D3DXFillTexture(), test_D3DXFloat_Array(), weld_float16_2(), and weld_float16_4().
D3DXFLOAT16* WINAPI D3DXFloat32To16Array | ( | D3DXFLOAT16 * | pout, |
const FLOAT * | pin, | ||
UINT | n | ||
) |
Definition at line 2187 of file math.c.
Referenced by convert_float4(), and test_D3DXFloat_Array().
D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation | ( | D3DXMATRIX * | out, |
FLOAT | scaling, | ||
const D3DXVECTOR3 * | rotationcenter, | ||
const D3DXQUATERNION * | rotation, | ||
const D3DXVECTOR3 * | translation | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation2D | ( | D3DXMATRIX * | out, |
FLOAT | scaling, | ||
const D3DXVECTOR2 * | rotationcenter, | ||
FLOAT | rotation, | ||
const D3DXVECTOR2 * | translation | ||
) |
HRESULT WINAPI D3DXMatrixDecompose | ( | D3DXVECTOR3 * | poutscale, |
D3DXQUATERNION * | poutrotation, | ||
D3DXVECTOR3 * | pouttranslation, | ||
const D3DXMATRIX * | pm | ||
) |
Definition at line 191 of file math.c.
Referenced by test_Matrix_Decompose().
FLOAT WINAPI D3DXMatrixDeterminant | ( | const D3DXMATRIX * | pm | ) |
D3DXMATRIX* WINAPI D3DXMatrixInverse | ( | D3DXMATRIX * | pout, |
FLOAT * | pdeterminant, | ||
const D3DXMATRIX * | pm | ||
) |
Definition at line 258 of file math.c.
Referenced by d3dx9_skin_info_UpdateSkinnedMesh(), D3DXIntersectTri(), D3DXMatrixTest(), and D3DXVec3Unproject().
D3DXMATRIX* WINAPI D3DXMatrixLookAtLH | ( | D3DXMATRIX * | out, |
const D3DXVECTOR3 * | eye, | ||
const D3DXVECTOR3 * | at, | ||
const D3DXVECTOR3 * | up | ||
) |
Definition at line 331 of file math.c.
Referenced by D3DXMatrixTest().
D3DXMATRIX* WINAPI D3DXMatrixLookAtRH | ( | D3DXMATRIX * | out, |
const D3DXVECTOR3 * | eye, | ||
const D3DXVECTOR3 * | at, | ||
const D3DXVECTOR3 * | up | ||
) |
Definition at line 364 of file math.c.
Referenced by D3DXMatrixTest().
D3DXMATRIX* WINAPI D3DXMatrixMultiply | ( | D3DXMATRIX * | pout, |
const D3DXMATRIX * | pm1, | ||
const D3DXMATRIX * | pm2 | ||
) |
Definition at line 397 of file math.c.
Referenced by d3dx9_skin_info_UpdateSkinnedMesh(), D3DXMatrixTest(), D3DXMatrixTransformation(), D3DXVec3Project(), D3DXVec3Unproject(), D3DXVector3Test(), 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 416 of file math.c.
Referenced by D3DXMatrixTest().
D3DXMATRIX* WINAPI D3DXMatrixOrthoLH | ( | D3DXMATRIX * | pout, |
FLOAT | w, | ||
FLOAT | h, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
Definition at line 431 of file math.c.
Referenced by D3DXMatrixTest(), and draw_quad_with_shader9().
D3DXMATRIX* WINAPI D3DXMatrixOrthoOffCenterLH | ( | D3DXMATRIX * | pout, |
FLOAT | l, | ||
FLOAT | r, | ||
FLOAT | b, | ||
FLOAT | t, | ||
FLOAT | zn, | ||
FLOAT | zf | ||
) |
Definition at line 443 of file math.c.
Referenced by d3dx9_line_Begin(), D3DXMatrixTest(), set_states(), and test_ID3DXSprite().
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 | ||
) |
Definition at line 483 of file math.c.
Referenced by D3DXMatrixTest(), D3DXVector3Test(), and test_D3DXVec_Array().
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 571 of file math.c.
Referenced by D3DXMatrixTest().
D3DXMATRIX* WINAPI D3DXMatrixRotationAxis | ( | D3DXMATRIX * | out, |
const D3DXVECTOR3 * | v, | ||
FLOAT | angle | ||
) |
Definition at line 594 of file math.c.
Referenced by D3DXMatrixTest(), ID3DXMatrixStackImpl_RotateAxis(), and ID3DXMatrixStackImpl_RotateAxisLocal().
D3DXMATRIX* WINAPI D3DXMatrixRotationQuaternion | ( | D3DXMATRIX * | pout, |
const D3DXQUATERNION * | pq | ||
) |
Definition at line 626 of file math.c.
Referenced by D3DXMatrixTest(), and D3DXMatrixTransformation().
D3DXMATRIX* WINAPI D3DXMatrixRotationX | ( | D3DXMATRIX * | pout, |
FLOAT | angle | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixRotationY | ( | D3DXMATRIX * | pout, |
FLOAT | angle | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixRotationYawPitchRoll | ( | D3DXMATRIX * | out, |
FLOAT | yaw, | ||
FLOAT | pitch, | ||
FLOAT | roll | ||
) |
Definition at line 667 of file math.c.
Referenced by D3DXMatrixTest(), ID3DXMatrixStackImpl_RotateYawPitchRoll(), ID3DXMatrixStackImpl_RotateYawPitchRollLocal(), and test_D3DXSHRotate().
D3DXMATRIX* WINAPI D3DXMatrixRotationZ | ( | D3DXMATRIX * | pout, |
FLOAT | angle | ||
) |
D3DXMATRIX* WINAPI D3DXMatrixScaling | ( | D3DXMATRIX * | pout, |
FLOAT | sx, | ||
FLOAT | sy, | ||
FLOAT | sz | ||
) |
Definition at line 712 of file math.c.
Referenced by D3DXMatrixTest(), D3DXMatrixTransformation(), ID3DXMatrixStackImpl_Scale(), and ID3DXMatrixStackImpl_ScaleLocal().
D3DXMATRIX* WINAPI D3DXMatrixShadow | ( | D3DXMATRIX * | pout, |
const D3DXVECTOR4 * | plight, | ||
const D3DXPLANE * | pplane | ||
) |
Definition at line 723 of file math.c.
Referenced by D3DXMatrixTest().
D3DXMATRIX* WINAPI D3DXMatrixTransformation | ( | D3DXMATRIX * | out, |
const D3DXVECTOR3 * | scaling_center, | ||
const D3DXQUATERNION * | scaling_rotation, | ||
const D3DXVECTOR3 * | scaling, | ||
const D3DXVECTOR3 * | rotation_center, | ||
const D3DXQUATERNION * | rotation, | ||
const D3DXVECTOR3 * | translation | ||
) |
Definition at line 751 of file math.c.
Referenced by D3DXMatrixTest(), and D3DXMatrixTransformation2D().
D3DXMATRIX* WINAPI D3DXMatrixTransformation2D | ( | D3DXMATRIX * | out, |
const D3DXVECTOR2 * | scaling_center, | ||
float | scaling_rotation, | ||
const D3DXVECTOR2 * | scaling, | ||
const D3DXVECTOR2 * | rotation_center, | ||
float | rotation, | ||
const D3DXVECTOR2 * | translation | ||
) |
Definition at line 827 of file math.c.
Referenced by test_Matrix_Transformation2D().
D3DXMATRIX* WINAPI D3DXMatrixTranslation | ( | D3DXMATRIX * | pout, |
FLOAT | x, | ||
FLOAT | y, | ||
FLOAT | z | ||
) |
Definition at line 866 of file math.c.
Referenced by D3DXMatrixTest(), D3DXMatrixTransformation(), ID3DXMatrixStackImpl_Translate(), and ID3DXMatrixStackImpl_TranslateLocal().
D3DXMATRIX* WINAPI D3DXMatrixTranspose | ( | D3DXMATRIX * | pout, |
const D3DXMATRIX * | pm | ||
) |
Definition at line 877 of file math.c.
Referenced by D3DXMatrixTest(), and 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 1215 of file math.c.
Referenced by D3DXPlaneTest().
D3DXVECTOR3* WINAPI D3DXPlaneIntersectLine | ( | D3DXVECTOR3 * | pout, |
const D3DXPLANE * | pp, | ||
const D3DXVECTOR3 * | pv1, | ||
const D3DXVECTOR3 * | pv2 | ||
) |
Definition at line 1231 of file math.c.
Referenced by D3DXPlaneTest().
Definition at line 1253 of file math.c.
Referenced by D3DXMatrixReflect(), D3DXMatrixShadow(), and D3DXPlaneTest().
D3DXPLANE* WINAPI D3DXPlaneTransform | ( | D3DXPLANE * | pout, |
const D3DXPLANE * | pplane, | ||
const D3DXMATRIX * | pm | ||
) |
Definition at line 1278 of file math.c.
Referenced by D3DXPlaneTest(), and D3DXPlaneTransformArray().
D3DXPLANE* WINAPI D3DXPlaneTransformArray | ( | D3DXPLANE * | out, |
UINT | outstride, | ||
const D3DXPLANE * | in, | ||
UINT | instride, | ||
const D3DXMATRIX * | matrix, | ||
UINT | elements | ||
) |
Definition at line 1291 of file math.c.
Referenced by test_D3DXVec_Array().
D3DXQUATERNION* WINAPI D3DXQuaternionBaryCentric | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2, | ||
const D3DXQUATERNION * | pq3, | ||
FLOAT | f, | ||
FLOAT | g | ||
) |
Definition at line 1308 of file math.c.
Referenced by D3DXQuaternionTest().
D3DXQUATERNION* WINAPI D3DXQuaternionExp | ( | D3DXQUATERNION * | out, |
const D3DXQUATERNION * | q | ||
) |
Definition at line 1318 of file math.c.
Referenced by D3DXQuaternionSquadSetup(), and D3DXQuaternionTest().
D3DXQUATERNION* WINAPI D3DXQuaternionInverse | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq | ||
) |
Definition at line 1343 of file math.c.
Referenced by D3DXQuaternionSquadSetup(), and D3DXQuaternionTest().
D3DXQUATERNION* WINAPI D3DXQuaternionLn | ( | D3DXQUATERNION * | out, |
const D3DXQUATERNION * | q | ||
) |
Definition at line 1358 of file math.c.
Referenced by D3DXQuaternionSquadSetup(), and D3DXQuaternionTest().
D3DXQUATERNION* WINAPI D3DXQuaternionMultiply | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2 | ||
) |
Definition at line 1377 of file math.c.
Referenced by D3DXQuaternionSquadSetup(), and D3DXQuaternionTest().
D3DXQUATERNION* WINAPI D3DXQuaternionNormalize | ( | D3DXQUATERNION * | out, |
const D3DXQUATERNION * | q | ||
) |
D3DXQUATERNION* WINAPI D3DXQuaternionRotationAxis | ( | D3DXQUATERNION * | out, |
const D3DXVECTOR3 * | v, | ||
FLOAT | angle | ||
) |
Definition at line 1407 of file math.c.
Referenced by D3DXQuaternionTest().
D3DXQUATERNION* WINAPI D3DXQuaternionRotationMatrix | ( | D3DXQUATERNION * | out, |
const D3DXMATRIX * | m | ||
) |
Definition at line 1423 of file math.c.
Referenced by D3DXMatrixDecompose(), and D3DXQuaternionTest().
D3DXQUATERNION* WINAPI D3DXQuaternionRotationYawPitchRoll | ( | D3DXQUATERNION * | out, |
FLOAT | yaw, | ||
FLOAT | pitch, | ||
FLOAT | roll | ||
) |
D3DXQUATERNION* WINAPI D3DXQuaternionSlerp | ( | D3DXQUATERNION * | out, |
const D3DXQUATERNION * | q1, | ||
const D3DXQUATERNION * | q2, | ||
FLOAT | t | ||
) |
Definition at line 1500 of file math.c.
Referenced by D3DXQuaternionBaryCentric(), D3DXQuaternionSquad(), and D3DXQuaternionTest().
D3DXQUATERNION* WINAPI D3DXQuaternionSquad | ( | D3DXQUATERNION * | pout, |
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2, | ||
const D3DXQUATERNION * | pq3, | ||
const D3DXQUATERNION * | pq4, | ||
FLOAT | t | ||
) |
Definition at line 1531 of file math.c.
Referenced by D3DXQuaternionTest().
void WINAPI D3DXQuaternionSquadSetup | ( | D3DXQUATERNION * | paout, |
D3DXQUATERNION * | pbout, | ||
D3DXQUATERNION * | pcout, | ||
const D3DXQUATERNION * | pq0, | ||
const D3DXQUATERNION * | pq1, | ||
const D3DXQUATERNION * | pq2, | ||
const D3DXQUATERNION * | pq3 | ||
) |
Definition at line 1553 of file math.c.
Referenced by D3DXQuaternionTest().
void WINAPI D3DXQuaternionToAxisAngle | ( | const D3DXQUATERNION * | pq, |
D3DXVECTOR3 * | paxis, | ||
FLOAT * | pangle | ||
) |
Definition at line 2237 of file math.c.
Referenced by test_D3DXSHAdd().
Definition at line 2249 of file math.c.
Referenced by D3DXSHMultiply2(), and test_D3DXSHDot().
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 2292 of file math.c.
Referenced by test_D3DXSHEvalConeLight().
Definition at line 2336 of file math.c.
Referenced by D3DXSHEvalConeLight(), D3DXSHEvalDirectionalLight(), D3DXSHEvalHemisphereLight(), D3DXSHEvalSphericalLight(), and test_D3DXSHEvalDirection().
HRESULT WINAPI D3DXSHEvalDirectionalLight | ( | UINT | order, |
const D3DXVECTOR3 * | dir, | ||
FLOAT | Rintensity, | ||
FLOAT | Gintensity, | ||
FLOAT | Bintensity, | ||
FLOAT * | Rout, | ||
FLOAT * | Gout, | ||
FLOAT * | Bout | ||
) |
Definition at line 2406 of file math.c.
Referenced by D3DXSHEvalConeLight(), test_D3DXSHEvalConeLight(), and test_D3DXSHEvalDirectionalLight().
HRESULT WINAPI D3DXSHEvalHemisphereLight | ( | UINT | order, |
const D3DXVECTOR3 * | dir, | ||
D3DXCOLOR | top, | ||
D3DXCOLOR | bottom, | ||
FLOAT * | rout, | ||
FLOAT * | gout, | ||
FLOAT * | bout | ||
) |
Definition at line 2435 of file math.c.
Referenced by test_D3DXSHEvalHemisphereLight().
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 2481 of file math.c.
Referenced by test_D3DXSHEvalSphericalLight().