Lines Matching refs:fx32
25 inline fx32 mul64(fx64 x, fx32 y) in mul64()
27 return (fx32)((x * y) >> FX32_SHIFT); in mul64()
97 void MTX_TransApply44(const MtxFx44 *pSrc, MtxFx44 *pDst, fx32 x, fx32 y, fx32 z) in MTX_TransApply44()
112 pSrc->_30 + (fx32)((xx * pSrc->_00 + yy * pSrc->_10 + zz * pSrc->_20) >> FX32_SHIFT); in MTX_TransApply44()
114 pSrc->_31 + (fx32)((xx * pSrc->_01 + yy * pSrc->_11 + zz * pSrc->_21) >> FX32_SHIFT); in MTX_TransApply44()
116 pSrc->_32 + (fx32)((xx * pSrc->_02 + yy * pSrc->_12 + zz * pSrc->_22) >> FX32_SHIFT); in MTX_TransApply44()
118 pSrc->_33 + (fx32)((xx * pSrc->_03 + yy * pSrc->_13 + zz * pSrc->_23) >> FX32_SHIFT); in MTX_TransApply44()
145 asm void MTX_Scale44_(register MtxFx44 * pDst, register fx32 x, register fx32 y, register fx32 z) in MTX_Scale44_()
182 void MTX_ScaleApply44(const MtxFx44 *pSrc, MtxFx44 *pDst, fx32 x, fx32 y, fx32 z) in MTX_ScaleApply44()
209 register fx32 t1, t2; in MTX_ScaleApply44()
223 asm void MTX_RotX44_(register MtxFx44 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotX44_()
251 asm void MTX_RotY44_(register MtxFx44 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotY44_()
278 asm void MTX_RotZ44_(register MtxFx44 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotZ44_()
317 void MTX_RotAxis44(MtxFx44 *pDst, const VecFx32 *vec, fx32 sinVal, fx32 cosVal) in MTX_RotAxis44()
320 fx32 t01; in MTX_RotAxis44()
321 fx32 s2; in MTX_RotAxis44()
332 t01 = (fx32)((xx * xx * t) >> (FX64_SHIFT + FX64_SHIFT)); in MTX_RotAxis44()
335 t01 = (fx32)((yy * yy * t) >> (FX64_SHIFT + FX64_SHIFT)); in MTX_RotAxis44()
338 t01 = (fx32)((zz * zz * t) >> (FX64_SHIFT + FX64_SHIFT)); in MTX_RotAxis44()
341 t01 = (fx32)((t * xx * yy) >> (FX64_SHIFT + FX64_SHIFT)); in MTX_RotAxis44()
342 s2 = (fx32)((ss * zz) >> FX64_SHIFT); in MTX_RotAxis44()
346 t01 = (fx32)((t * xx * zz) >> (FX64_SHIFT + FX64_SHIFT)); in MTX_RotAxis44()
347 s2 = (fx32)((ss * yy) >> FX64_SHIFT); in MTX_RotAxis44()
351 t01 = (fx32)((t * yy * zz) >> (FX64_SHIFT + FX64_SHIFT)); in MTX_RotAxis44()
352 s2 = (fx32)((ss * xx) >> FX64_SHIFT); in MTX_RotAxis44()
379 register fx32 x, y, z, w; in MTX_Concat44()
380 register fx32 xx, yy, zz, ww; in MTX_Concat44()
404 (fx32)(((fx64)x * b->_00 + (fx64)y * b->_10 + (fx64)z * b->_20 + in MTX_Concat44()
407 (fx32)(((fx64)x * b->_01 + (fx64)y * b->_11 + (fx64)z * b->_21 + in MTX_Concat44()
410 (fx32)(((fx64)x * b->_03 + (fx64)y * b->_13 + (fx64)z * b->_23 + in MTX_Concat44()
418 p->_02 = (fx32)(((fx64)x * xx + (fx64)y * yy + (fx64)z * zz + (fx64)w * ww) >> FX32_SHIFT); in MTX_Concat44()
426 p->_12 = (fx32)(((fx64)x * xx + (fx64)y * yy + (fx64)z * zz + (fx64)w * ww) >> FX32_SHIFT); in MTX_Concat44()
428 (fx32)(((fx64)x * b->_01 + (fx64)y * b->_11 + (fx64)z * b->_21 + in MTX_Concat44()
431 (fx32)(((fx64)x * b->_03 + (fx64)y * b->_13 + (fx64)z * b->_23 + in MTX_Concat44()
439 p->_10 = (fx32)(((fx64)x * xx + (fx64)y * yy + (fx64)z * zz + (fx64)w * ww) >> FX32_SHIFT); in MTX_Concat44()
447 p->_20 = (fx32)(((fx64)x * xx + (fx64)y * yy + (fx64)z * zz + (fx64)w * ww) >> FX32_SHIFT); in MTX_Concat44()
449 (fx32)(((fx64)x * b->_01 + (fx64)y * b->_11 + (fx64)z * b->_21 + in MTX_Concat44()
452 (fx32)(((fx64)x * b->_03 + (fx64)y * b->_13 + (fx64)z * b->_23 + in MTX_Concat44()
460 p->_22 = (fx32)(((fx64)x * xx + (fx64)y * yy + (fx64)z * zz + (fx64)w * ww) >> FX32_SHIFT); in MTX_Concat44()
468 p->_32 = (fx32)(((fx64)x * xx + (fx64)y * yy + (fx64)z * zz + (fx64)w * ww) >> FX32_SHIFT); in MTX_Concat44()
470 (fx32)(((fx64)x * b->_01 + (fx64)y * b->_11 + (fx64)z * b->_21 + in MTX_Concat44()
473 (fx32)(((fx64)x * b->_00 + (fx64)y * b->_10 + (fx64)z * b->_20 + in MTX_Concat44()
476 (fx32)(((fx64)x * b->_03 + (fx64)y * b->_13 + (fx64)z * b->_23 + in MTX_Concat44()
501 void MTX_FrustumW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx) in MTX_FrustumW()
504 fx32 dblN; in MTX_FrustumW()
574 void MTX_PerspectiveW(fx32 fovySin, fx32 fovyCos, fx32 aspect, fx32 n, fx32 f, fx32 scaleW, MtxFx44… in MTX_PerspectiveW()
576 fx32 one_tan; in MTX_PerspectiveW()
588 one_tan = FX_Div((fx32)fovyCos, (fx32)fovySin); in MTX_PerspectiveW()
634 void MTX_OrthoW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx) in MTX_OrthoW()