Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 19 of 19) sorted by relevance

/CTR-SDK-0.14.21/include/nn/math/inline/
Dmath_Types.ipp63 VEC2 tmp;
67 tmp.x = pV->x;
68 tmp.y = pV->y;
69 pVec = &tmp;
174 VEC3 tmp;
175 tmp.x = pM->f._00 * pV->x + pM->f._01 * pV->y + pM->f._02 * pV->z;
176 tmp.y = pM->f._10 * pV->x + pM->f._11 * pV->y + pM->f._12 * pV->z;
177 tmp.z = pM->f._20 * pV->x + pM->f._21 * pV->y + pM->f._22 * pV->z;
179 pOut->x = tmp.x;
180 pOut->y = tmp.y;
[all …]
Dmath_Matrix44.ipp173 f32 tmp = m[0][0];
175 m[1][0] = sin * tmp;
177 tmp = m[0][1];
179 m[1][1] = sin * tmp;
181 tmp = m[0][2];
183 m[1][2] = sin * tmp;
185 tmp = m[0][3];
187 m[1][3] = sin * tmp;
304 f32 tmp;
305 tmp = a;
[all …]
Dmath_Matrix23.ipp197 MTX23 tmp;
202 pMtx = &tmp;
217 if (pMtx == &tmp)
219 MTX23Copy(pOut, &tmp);
273 VEC2 tmp;
274 VEC2Transform(&tmp, pM, pT);
276 pOut->f._02 = tmp.x;
277 pOut->f._12 = tmp.y;
Dmath_Matrix34.ipp163 MTX34 tmp;
164 u32 rval = MTX34InvTranspose(&tmp, p);
165 (void)MTX34ToMTX33(pOut, &tmp);
Dmath_Vector4.ipp253 VEC4 tmp;
254 return VEC4LenSq(VEC4Sub(&tmp, p1, p2));
/CTR-SDK-0.14.21/include/nn/math/
Dmath_Vector4.h130 …type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); return t… member
131 …type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); return t… member
132 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; } member
242 operator * (f32 f, const VEC4& rhs) { VEC4 tmp; (void)VEC4Scale(&tmp, &rhs, f); return tmp; } variable
Dmath_Quaternion.h90 …type operator + (const self_type& rhs) const { QUAT tmp; (void)QUATAdd(&tmp, this, &rhs); return t… member
91 …type operator - (const self_type& rhs) const { QUAT tmp; (void)QUATSub(&tmp, this, &rhs); return t… member
92 self_type operator * (f32 f) const { QUAT tmp; (void)QUATScale(&tmp, this, f); return tmp; } member
104 operator * (f32 f, const QUAT& rhs) { QUAT tmp; (void)QUATScale(&tmp, &rhs, f); return tmp; } variable
Dmath_Vector3.h121 …type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); return t… member
122 …type operator - (const self_type& rhs) const { VEC3 tmp; (void)VEC3Sub(&tmp, this, &rhs); return t… member
123 self_type operator * (f32 f) const { VEC3 tmp; (void)VEC3Scale(&tmp, this, f); return tmp; } member
405 operator * (f32 f, const VEC3& rhs) { VEC3 tmp; (void)VEC3Scale(&tmp, &rhs, f); return tmp; } variable
Dmath_Matrix23.h186 …self_type operator + (const self_type& rhs) const { MTX23 tmp; return *MTX23Add(&tmp, this, &rhs);… member
187 …self_type operator - (const self_type& rhs) const { MTX23 tmp; return *MTX23Sub(&tmp, this, &rhs);… member
189 self_type operator * (f32 f) const { MTX23 tmp; return *MTX23Mult(&tmp, this, f); } member
Dmath_Matrix43.h191 …self_type operator + (const self_type& rhs) const { MTX43 tmp; return *MTX43Add(&tmp, this, &rhs);… member
192 …self_type operator - (const self_type& rhs) const { MTX43 tmp; return *MTX43Add(&tmp, this, &rhs);… member
194 self_type operator * (f32 f) const { MTX43 tmp; return *MTX43Mult(&tmp, this, f); } member
Dmath_Matrix34.h313 …self_type operator + (const self_type& rhs) const { MTX34 tmp; return *MTX34Add(&tmp, this, &rhs);… member
314 …self_type operator - (const self_type& rhs) const { MTX34 tmp; return *MTX34Sub(&tmp, this, &rhs);… member
316 self_type operator * (f32 f) const { MTX34 tmp; return *MTX34Mult(&tmp, this, f); } member
484 MTX34 tmp; variable
485 (void)MTX34Mult(&tmp, &rhs, f);
486 return tmp;
Dmath_Matrix44.h381 …self_type operator + (const self_type& rhs) const { MTX44 tmp; return *MTX44Add(&tmp, this, &rhs);… member
382 …self_type operator - (const self_type& rhs) const { MTX44 tmp; return *MTX44Sub(&tmp, this, &rhs);… member
384 self_type operator * (f32 f) const { MTX44 tmp; return *MTX44Mult(&tmp, this, f); } member
Dmath_Vector2.h370 VEC2DistSq(const VEC2* p1, const VEC2* p2) { VEC2 tmp; return VEC2LenSq(VEC2Sub(&tmp, p1, p2)); } in VEC2DistSq() local
/CTR-SDK-0.14.21/include/nn/math/ARMv6/inline/
Dmath_Matrix44.ipp39 VEC4 tmp;
40 tmp.x = pM->f._00 * pV->x + pM->f._01 * pV->y + pM->f._02 * pV->z + pM->f._03;
41 tmp.y = pM->f._10 * pV->x + pM->f._11 * pV->y + pM->f._12 * pV->z + pM->f._13;
42 tmp.z = pM->f._20 * pV->x + pM->f._21 * pV->y + pM->f._22 * pV->z + pM->f._23;
43 tmp.w = pM->f._30 * pV->x + pM->f._31 * pV->y + pM->f._32 * pV->z + pM->f._33;
45 pOut->x = tmp.x;
46 pOut->y = tmp.y;
47 pOut->z = tmp.z;
48 pOut->w = tmp.w;
171 MTX44 tmp;
[all …]
Dmath_Quaternion.ipp42 QUAT tmp;
50 pDst = &tmp;
62 if ( pDst == &tmp )
64 *pOut = tmp;
Dmath_Matrix34.ipp401 VEC3 tmp;
402 VEC3Transform(&tmp, pM, pT);
404 pOut->f._03 = tmp.x;
405 pOut->f._13 = tmp.y;
406 pOut->f._23 = tmp.z;
/CTR-SDK-0.14.21/sources/libraries/math/
Dmath_Geometry.cpp149 AABB tmp; in Set() local
150 tmp.Set(arrayPoint, numPoints); in Set()
151 VEC3Lerp(&C, &tmp.Pmin, &tmp.Pmax, 0.5f); in Set()
326 VEC3 tmp; in DistSqPoint3ToPlane() local
327 VEC3Sub(Q, P, VEC3Scale(&tmp, &J->N, k)); in DistSqPoint3ToPlane()
664 VEC3 tmp; in DistSqLine3ToRay3() local
665 VEC3Add(&v, &L->P, VEC3Scale(&tmp, &L->d, s_)); in DistSqLine3ToRay3()
667 VEC3Sub(&v, &v, VEC3Scale(&tmp, &R->d, t_)); in DistSqLine3ToRay3()
731 VEC3 tmp; in DistSqLine3ToSegment3() local
732 VEC3Add(&v, &L0->P, VEC3Scale(&tmp, &L0->d, s_)); in DistSqLine3ToSegment3()
[all …]
/CTR-SDK-0.14.21/build/omake/
Dcommondefs.cctype.RVCT.om187 --feedback=$@.tmp --feedback_image=none, \
Dcommondefs.om569 grep -v $"^;.+Last Updated:" $@.tmp > $@