Home
last modified time | relevance | path

Searched refs:cosVal (Results 1 – 20 of 20) sorted by relevance

/TwlSDK-5.1.0/include/nitro/fx/
Dfx_mtx33.h44 SDK_DECL_INLINE void MTX_RotX33(MtxFx33 *pDst, fx32 sinVal, fx32 cosVal);
45 SDK_DECL_INLINE void MTX_RotY33(MtxFx33 *pDst, fx32 sinVal, fx32 cosVal);
46 SDK_DECL_INLINE void MTX_RotZ33(MtxFx33 *pDst, fx32 sinVal, fx32 cosVal);
47 void MTX_RotAxis33(MtxFx33 *pDst, const VecFx32 *vec, fx32 sinVal, fx32 cosVal);
57 void MTX_RotX33_(register MtxFx33 *pDst, register fx32 sinVal, register fx32 cosVal);
58 void MTX_RotY33_(register MtxFx33 *pDst, register fx32 sinVal, register fx32 cosVal);
59 void MTX_RotZ33_(register MtxFx33 *pDst, register fx32 sinVal, register fx32 cosVal);
179 SDK_INLINE void MTX_RotX33(MtxFx33 *pDst, fx32 sinVal, fx32 cosVal) in MTX_RotX33() argument
182 MTX_RotX33_(pDst, sinVal, cosVal); in MTX_RotX33()
196 SDK_INLINE void MTX_RotY33(MtxFx33 *pDst, fx32 sinVal, fx32 cosVal) in MTX_RotY33() argument
[all …]
Dfx_mtx43.h44 SDK_DECL_INLINE void MTX_RotX43(MtxFx43 *pDst, fx32 sinVal, fx32 cosVal);
45 SDK_DECL_INLINE void MTX_RotY43(MtxFx43 *pDst, fx32 sinVal, fx32 cosVal);
46 SDK_DECL_INLINE void MTX_RotZ43(MtxFx43 *pDst, fx32 sinVal, fx32 cosVal);
47 void MTX_RotAxis43(MtxFx43 *pDst, const VecFx32 *vec, fx32 sinVal, fx32 cosVal);
57 void MTX_RotX43_(register MtxFx43 *pDst, register fx32 sinVal, register fx32 cosVal);
58 void MTX_RotY43_(register MtxFx43 *pDst, register fx32 sinVal, register fx32 cosVal);
59 void MTX_RotZ43_(register MtxFx43 *pDst, register fx32 sinVal, register fx32 cosVal);
180 SDK_INLINE void MTX_RotX43(MtxFx43 *pDst, fx32 sinVal, fx32 cosVal) in MTX_RotX43() argument
183 MTX_RotX43_(pDst, sinVal, cosVal); in MTX_RotX43()
197 SDK_INLINE void MTX_RotY43(MtxFx43 *pDst, fx32 sinVal, fx32 cosVal) in MTX_RotY43() argument
[all …]
Dfx_mtx44.h44 SDK_DECL_INLINE void MTX_RotX44(MtxFx44 *pDst, fx32 sinVal, fx32 cosVal);
45 SDK_DECL_INLINE void MTX_RotY44(MtxFx44 *pDst, fx32 sinVal, fx32 cosVal);
46 SDK_DECL_INLINE void MTX_RotZ44(MtxFx44 *pDst, fx32 sinVal, fx32 cosVal);
47 void MTX_RotAxis44(MtxFx44 *pDst, const VecFx32 *vec, fx32 sinVal, fx32 cosVal);
58 void MTX_RotX44_(register MtxFx44 *pDst, register fx32 sinVal, register fx32 cosVal);
59 void MTX_RotY44_(register MtxFx44 *pDst, register fx32 sinVal, register fx32 cosVal);
60 void MTX_RotZ44_(register MtxFx44 *pDst, register fx32 sinVal, register fx32 cosVal);
186 SDK_INLINE void MTX_RotX44(MtxFx44 *pDst, fx32 sinVal, fx32 cosVal) in MTX_RotX44() argument
189 MTX_RotX44_(pDst, sinVal, cosVal); in MTX_RotX44()
204 SDK_INLINE void MTX_RotY44(MtxFx44 *pDst, fx32 sinVal, fx32 cosVal) in MTX_RotY44() argument
[all …]
Dfx_mtx22.h39 SDK_DECL_INLINE void MTX_Rot22(MtxFx22 *pDst, fx32 sinVal, fx32 cosVal);
47 void MTX_Rot22_(register MtxFx22 *pDst, register fx32 sinVal, register fx32 cosVal);
133 SDK_INLINE void MTX_Rot22(MtxFx22 *pDst, fx32 sinVal, fx32 cosVal) in MTX_Rot22() argument
136 MTX_Rot22_(pDst, sinVal, cosVal); in MTX_Rot22()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/Sub_Oam_2/src/
Dmain.c99 fx16 sinVal, cosVal; in TwlMain() local
104 cosVal = FX_CosIdx(rotate); in TwlMain()
105 mtx._00 = cosVal; in TwlMain()
108 mtx._11 = cosVal; in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_Oam_2/src/
Dmain.c98 fx16 sinVal, cosVal; in TwlMain() local
103 cosVal = FX_CosIdx(rotate); in TwlMain()
104 mtx._00 = cosVal; in TwlMain()
107 mtx._11 = cosVal; in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/Sub_CharBg_2/src/
Dmain.c91 fx16 sinVal, cosVal; in TwlMain() local
115 cosVal = FX_CosIdx(rotate); in TwlMain()
117 mtx._00 = (fx32)cosVal; in TwlMain()
120 mtx._11 = (fx32)cosVal; in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_CharBg_2/src/
Dmain.c91 fx16 sinVal, cosVal; in TwlMain() local
115 cosVal = FX_CosIdx(rotate); in TwlMain()
117 mtx._00 = (fx32)cosVal; in TwlMain()
120 mtx._11 = (fx32)cosVal; in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_CharBg_256BMP/src/
Dmain.c230 fx16 cosVal = FX_CosIdx(rotate); in TwlMain() local
233 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
236 mtx._11 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_CharBg_Direct/src/
Dmain.c208 fx16 cosVal = FX_CosIdx(rotate); in TwlMain() local
211 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
214 mtx._11 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_CharBg_256_16/src/
Dmain.c245 fx16 cosVal = FX_CosIdx(rotate); in TwlMain() local
248 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
251 mtx._11 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_Oam_Bmp1D/src/
Dmain.c191 fx16 cosVal = FX_CosIdx(rotate); in TwlMain() local
195 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
198 mtx._11 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_Oam_Direct/src/
Dmain.c203 fx16 cosVal = FX_CosIdx(rotate); in TwlMain() local
207 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
210 mtx._11 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_Oam_256_16/src/
Dmain.c205 fx16 cosVal = FX_CosIdx(rotate); in TwlMain() local
209 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
212 mtx._11 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_Oam_Char1D/src/
Dmain.c220 fx16 cosVal = FX_CosIdx(rotate); in TwlMain() local
224 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
227 mtx._11 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
/TwlSDK-5.1.0/build/libraries/fx/common/src/
Dfx_mtx33.c149 asm void MTX_RotX33_(register MtxFx33 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotX33_() argument
170 asm void MTX_RotY33_(register MtxFx33 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotY33_() argument
191 asm void MTX_RotZ33_(register MtxFx33 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotZ33_() argument
222 void MTX_RotAxis33(MtxFx33 *pDst, const VecFx32 *vec, fx32 sinVal, fx32 cosVal) in MTX_RotAxis33() argument
230 t = (fx64)(FX32_ONE - (fx32)cosVal); in MTX_RotAxis33()
232 cc = (fx64)cosVal; in MTX_RotAxis33()
238 pDst->_00 = t01 + cosVal; in MTX_RotAxis33()
241 pDst->_11 = t01 + cosVal; in MTX_RotAxis33()
244 pDst->_22 = t01 + cosVal; in MTX_RotAxis33()
Dfx_mtx44.c223 asm void MTX_RotX44_(register MtxFx44 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotX44_() argument
251 asm void MTX_RotY44_(register MtxFx44 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotY44_() argument
278 asm void MTX_RotZ44_(register MtxFx44 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotZ44_() argument
317 void MTX_RotAxis44(MtxFx44 *pDst, const VecFx32 *vec, fx32 sinVal, fx32 cosVal) in MTX_RotAxis44() argument
325 t = (fx64)(FX32_ONE - cosVal); in MTX_RotAxis44()
327 cc = (fx64)cosVal; in MTX_RotAxis44()
333 pDst->_00 = t01 + cosVal; in MTX_RotAxis44()
336 pDst->_11 = t01 + cosVal; in MTX_RotAxis44()
339 pDst->_22 = t01 + cosVal; in MTX_RotAxis44()
Dfx_mtx43.c159 asm void MTX_RotX43_(register MtxFx43 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotX43_() argument
181 asm void MTX_RotY43_(register MtxFx43 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotY43_() argument
202 asm void MTX_RotZ43_(register MtxFx43 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_RotZ43_() argument
235 void MTX_RotAxis43(MtxFx43 *pDst, const VecFx32 *vec, fx32 sinVal, fx32 cosVal) in MTX_RotAxis43() argument
237 MTX_RotAxis33((MtxFx33 *)pDst, vec, sinVal, cosVal); in MTX_RotAxis43()
Dfx_mtx22.c63 asm void MTX_Rot22_(register MtxFx22 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_Rot22_() argument
/TwlSDK-5.1.0/build/demos/fx/test/src/
Dfx_append_mtx.c100 static void MTX_RotY43D_(MtxD43 * pDst, fx32 sinVal, fx32 cosVal);
101 static void MTX_RotZ43D_(MtxD43 * pDst, fx32 sinVal, fx32 cosVal);
232 static void MTX_RotY43D_(MtxD43 * pDst, fx32 sinVal, fx32 cosVal) in MTX_RotY43D_() argument
236 pDst->_00 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotY43D_()
244 pDst->_22 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotY43D_()
251 static void MTX_RotZ43D_(MtxD43 * pDst, fx32 sinVal, fx32 cosVal) in MTX_RotZ43D_() argument
255 pDst->_00 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotZ43D_()
259 pDst->_11 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotZ43D_()