Home
last modified time | relevance | path

Searched refs:VecFx32 (Results 1 – 25 of 72) sorted by relevance

123

/TwlSDK-5.1.0/include/nitro/fx/
Dfx_vec.h35 void VEC_Add(const VecFx32 *a, const VecFx32 *b, VecFx32 *ab);
36 void VEC_Subtract(const VecFx32 *a, const VecFx32 *b, VecFx32 *ab);
37 fx32 VEC_DotProduct(const VecFx32 *a, const VecFx32 *b);
38 void VEC_CrossProduct(const VecFx32 *a, const VecFx32 *b, VecFx32 *axb);
39 fx32 VEC_Mag(const VecFx32 *v);
40 fx32 VEC_Distance(const VecFx32 *v1, const VecFx32 *v2);
41 void VEC_Normalize(const VecFx32 *pSrc, VecFx32 *pDst);
42 void VEC_MultAdd(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest);
43 void VEC_MultSubtract(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest);
67 SDK_INLINE void VEC_Set(VecFx32 *a, fx32 x, fx32 y, fx32 z) in VEC_Set()
Dfx_mtx43.h47 void MTX_RotAxis43(MtxFx43 *pDst, const VecFx32 *vec, fx32 sinVal, fx32 cosVal);
50 void MTX_MultVec43(const VecFx32 *vec, const MtxFx43 *m, VecFx32 *dst);
51 void MTX_LookAt(const VecFx32 *camPos, const VecFx32 *camUp, const VecFx32 *target, MtxFx43 *mtx…
/TwlSDK-5.1.0/build/demos/fx/test/src/
Dfx_append_vec.c60 static const VecFx32 vInputData[] = {
89 static void VecFx32ToVecD_(const VecFx32 *src, VecD * dst);
92 static void CalcErrorBtweenVecFxAndVecD_(const VecFx32 *a, const VecD * b, VecD * vError);
99 static double VEC_DotProduct_d_(const VecFx32 *a, const VecFx32 *b);
100 static void VEC_CrossProduct_d_(const VecFx32 *a, const VecFx32 *b, VecD * axb);
101 static double VEC_Mag_d_(const VecFx32 *pSrc);
102 static void VEC_Normalize_d_(const VecFx32 *pSrc, VecD * pDst);
105 static double GetDotProductError_(const VecFx32 *a, const VecFx32 *b);
106 static double GetCrossProductError_(const VecFx32 *a, const VecFx32 *b);
107 static double GetMagError_(const VecFx32 *a);
[all …]
Dmain.c80 VecFx32 a = { FX32_ONE, FX32_ONE * 2, FX32_ONE * 3 }; in test_FX_VEC()
81 VecFx32 b = { FX32_ONE * 5, FX32_ONE * 7, FX32_ONE * 11 }; in test_FX_VEC()
82 VecFx32 c; in test_FX_VEC()
407 const VecFx32 xAxis = { FX32_ONE, 0, 0 }; in test_FX_MTX33()
408 const VecFx32 yAxis = { 0, FX32_ONE, 0 }; in test_FX_MTX33()
409 const VecFx32 zAxis = { 0, 0, FX32_ONE }; in test_FX_MTX33()
469 VecFx32 vec = { FX32_ONE, FX32_ONE, FX32_ONE }; in test_FX_MTX33()
470 VecFx32 ans = { FX32_ONE * 12, FX32_ONE * 15, FX32_ONE * 18 }; in test_FX_MTX33()
574 const VecFx32 xAxis = { FX32_ONE, 0, 0 }; in test_FX_MTX43()
575 const VecFx32 yAxis = { 0, FX32_ONE, 0 }; in test_FX_MTX43()
[all …]
/TwlSDK-5.1.0/build/libraries/fx/common/src/
Dfx_vec.c39 void VEC_Add(const VecFx32 *a, const VecFx32 *b, VecFx32 *ab) in VEC_Add()
63 void VEC_Subtract(const VecFx32 *a, const VecFx32 *b, VecFx32 *ab) in VEC_Subtract()
134 fx32 VEC_DotProduct(const VecFx32 *a, const VecFx32 *b) in VEC_DotProduct()
177 void VEC_CrossProduct(const VecFx32 *a, const VecFx32 *b, VecFx32 *axb) in VEC_CrossProduct()
240 fx32 VEC_Mag(const VecFx32 *pSrc) in VEC_Mag()
299 void VEC_Normalize(const VecFx32 *pSrc, VecFx32 *pDst) in VEC_Normalize()
377 void VEC_MultAdd(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest) in VEC_MultAdd()
401 void VEC_MultSubtract(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest) in VEC_MultSubtract()
423 fx32 VEC_Distance(const VecFx32 *v1, const VecFx32 *v2) in VEC_Distance()
/TwlSDK-5.1.0/include/nitro/gx/
Dg3_util.h44 void G3i_LookAt_(const VecFx32 *camPos, const VecFx32 *camUp, const VecFx32 *target, BOOL draw,
223 G3_LookAt(const VecFx32 *camPos, const VecFx32 *camUp, const VecFx32 *target, MtxFx43 *mtx) in G3_LookAt()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Command_Pack/src/
Dmain.c60 VecFx32 Eye = { 0, 0, FX32_ONE * 5 }; // Eye Position in TwlMain()
61 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
62 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Simple3/src/
Dmain.c85 VecFx32 Eye = { 0, 0, FX32_ONE }; // Eye position in TwlMain()
86 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
87 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Simple/src/
Dmain.c82 VecFx32 Eye = { 0, 0, FX32_ONE }; // Eye position in TwlMain()
83 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
84 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Alpha_Test/src/
Dmain.c134 VecFx32 Eye = { 0, 0, FX32_ONE }; // Eye Position in TwlMain()
135 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
136 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Simple2/src/
Dmain.c57 VecFx32 Eye = { 0, 0, FX32_ONE }; // Eye position in TwlMain()
58 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
59 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Fog/src/
Dmain.c131 VecFx32 Eye = { 0, 0, FX32_ONE * 8 }; // Eye Position in TwlMain()
132 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
133 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Transparent/src/
Dmain.c88 VecFx32 Eye = { 0, 0, FX32_ONE }; // Eye position in TwlMain()
89 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
90 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/FlipRepeat/src/
Dmain.c197 VecFx32 Eye = { 0, 0, FX32_ONE }; // Sight position in TwlMain()
198 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
199 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/AntiAlias/src/
Dmain.c189 VecFx32 Eye = { 0, 0, FX32_ONE }; // Sight position in TwlMain()
190 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
191 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Shininess/src/
Dmain.c145 VecFx32 Eye = { 0, 0, FX32_ONE }; // Eye position in TwlMain()
146 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
147 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/wm/dataShare-Model/src/
Dgraphics.c65 VecFx32 Eye = { 0, 0, FX32_ONE }; in setupPseudo2DCamera()
66 VecFx32 at = { 0, 0, 0 }; in setupPseudo2DCamera()
67 VecFx32 vUp = { 0, -FX32_ONE, 0 }; in setupPseudo2DCamera()
/TwlSDK-5.1.0/build/demos/wm/wep-1/src/
Dgraphics.c64 VecFx32 Eye = { 0, 0, FX32_ONE }; in setupPseudo2DCamera()
65 VecFx32 at = { 0, 0, 0 }; in setupPseudo2DCamera()
66 VecFx32 vUp = { 0, -FX32_ONE, 0 }; in setupPseudo2DCamera()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Edge_Marking/src/
Dmain.c168 VecFx32 Eye = { 0, 0, FX32_ONE }; // Eye Position in TwlMain()
169 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
170 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Shadow_Pol/src/
Dmain.c98 VecFx32 Eye = { 0, 15 * FX32_ONE, -15 * FX32_ONE }; // Eye point position in TwlMain()
99 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
100 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Color/src/
Dmain.c229 VecFx32 Eye = { 0, 0, FX32_ONE * 5 }; // Eye Position in TwlMain()
230 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
231 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_TexSRT/src/
Dmain.c124 VecFx32 Eye = { 0, 0, 3 * FX32_ONE }; // Eye position in TwlMain()
125 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
126 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_Pol_Env_Mapping/src/
Dmain.c148 VecFx32 Eye = { 0, 0, 10 * FX32_ONE }; // Eye position in TwlMain()
149 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
150 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_PolAttr_DpthUpdate/src/
Dmain.c235 VecFx32 Eye = { 0, 0, FX32_ONE * 8 }; // Eye point position in TwlMain()
236 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
237 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/3D_PolAttr_DpthTest/src/
Dmain.c209 VecFx32 Eye = { 0, 0, FX32_ONE }; // Eye point position in TwlMain()
210 VecFx32 at = { 0, 0, 0 }; // Viewpoint in TwlMain()
211 VecFx32 vUp = { 0, FX32_ONE, 0 }; // Up in TwlMain()

123