| /CTR-SDK-0.14.4/include/nn/math/ |
| D | math_Geometry.h | 79 : P(p), d(p + 3) in P() 82 : P(Pt), d(dir) in P() 87 bool operator==(const self_type& rhs) const { return P == rhs.P && d == rhs.d; } 88 bool operator!=(const self_type& rhs) const { return P != rhs.P || d != rhs.d; } 92 void Normalize() { (void)VEC3Normalize(&d, &d); } in Normalize() 95 VEC3 d; // 直接代入する場合は正規化しておくこと member 112 : P(p), d(p + 3) in P() 115 : P(Pt), d(dir) in P() 120 bool operator==(const self_type& rhs) const { return P == rhs.P && d == rhs.d; } 121 bool operator!=(const self_type& rhs) const { return P != rhs.P || d != rhs.d; } [all …]
|
| D | math_Equation.h | 26 int SolveEquation3(f32* root, f32 a, f32 b, f32 c, f32 d); 27 int SolveEquation4(f32* root, f32 a, f32 b, f32 c, f32 d, f32 e);
|
| D | math_Arithmetic.h | 460 Hermite(f32 v0, f32 t0, f32 v1, f32 t1, f32 p, f32 d) in Hermite() argument 464 return ARMv6::HermiteC(v0, t0, v1, t1, p, d); in Hermite() 466 return ARMv6::HermiteC_FAST(v0, t0, v1, t1, p, d); in Hermite() 468 return ARMv6::HermiteAsm(v0, t0, v1, t1, p, d); in Hermite()
|
| /CTR-SDK-0.14.4/sources/libraries/math/ |
| D | math_Geometry.cpp | 41 d = -VEC3Dot(&N, P0); in Set() 241 f32 t_ = VEC3Dot(&L->d, VEC3Sub(&LP, P, &L->P)); in DistSqPoint3ToLine3() 244 VEC3Add(&PP, &L->P, VEC3Scale(&PP, &L->d, t_)); in DistSqPoint3ToLine3() 491 f32 b, d, e, f, det; in DistSqLine3ToLine3() local 495 b = VEC3Dot(&L0->d, &L1->d); in DistSqLine3ToLine3() 497 d = VEC3Dot(&L0->d, &u); in DistSqLine3ToLine3() 498 e = VEC3Dot(&L1->d, &u); in DistSqLine3ToLine3() 518 s_ = (b * e - d) * invDet; in DistSqLine3ToLine3() 519 t_ = (e - b * d) * invDet; in DistSqLine3ToLine3() 528 VEC3Scale(&tmp0, &L0->d, s_), in DistSqLine3ToLine3() [all …]
|
| D | math_Equation.cpp | 134 SolveEquation3(/*f32* root, f32 a==1,*/ f32 b, f32 c, f32 d) in SolveEquation3() argument 137 f32 r = (2 * spow<3>(b) - 9 * b * c + 27 * d) / 54; in SolveEquation3() 272 SolveEquation3(f32* root, f32 a, f32 b, f32 c, f32 d) in SolveEquation3() argument 280 d /= a; in SolveEquation3() 284 f32 r = (2 * spow<3>(b) - 9 * b * c + 27 * d) / 54; in SolveEquation3() 340 SolveEquation4(f32* root, f32 a, f32 b, f32 c, f32 d, f32 e) in SolveEquation4() argument 350 d /= a; in SolveEquation4() 361 f32 q = spow<3>(b) / 8 - b * c / 2 + d; in SolveEquation4() 362 f32 r = - 3.f * spow<4>(b) / 256 + spow<2>(b) * c / 16 - b * d / 4 + e; in SolveEquation4()
|
| D | math_Triangular.cpp | 416 u16 d = idx & 0xff; in SinIdx() local 417 …f32 val = internal::gSinCosTbl[i].sin_val + U16ToF32(d) * (1.f / 256.f) * internal::gSinCosTbl[i].… in SinIdx() 465 u16 d = idx & 0xff; in CosIdx() local 466 …return internal::gSinCosTbl[i].cos_val + U16ToF32(d) * (1.f / 256.f) * internal::gSinCosTbl[i].cos… in CosIdx() 521 u16 d = idx & 0xff; in SinCosIdx() local 522 f32 fd = U16ToF32(d) * (1.f / 256.f); in SinCosIdx()
|
| /CTR-SDK-0.14.4/include/nn/math/ARMv6/ |
| D | math_Arithmetic.h | 40 f32 HermiteAsm(f32 v0, f32 t0, f32 v1, f32 t1, f32 p, f32 d); 96 HermiteC(f32 v0, f32 t0, f32 v1, f32 t1, f32 p, f32 d) in HermiteC() argument 98 f32 inv_d = 1 / d; in HermiteC() 105 HermiteC_FAST(f32 v0, f32 t0, f32 v1, f32 t1, f32 p, f32 d) in HermiteC_FAST() argument 108 f32 s = p / d; in HermiteC_FAST()
|
| /CTR-SDK-0.14.4/sources/libraries/fnd/detail/ |
| D | fnd_DetailHeapCommon.h | 45 #define NNSI_CREATE_HEAP_SIGNATURE(a,b,c,d) ( ((a & 0xFF) << 24) | ((b & 0xFF) << 16) | ((c & 0xFF… argument
|
| /CTR-SDK-0.14.4/include/nn/font/detail/ |
| D | font_BinaryFileFormat.h | 23 #define NN_FONT_MAKE_SIGWORD(a, b, c, d) \ argument 26 | (static_cast<u8>(c) << 16) | (static_cast<u8>(d) << 24) \ 30 #define NN_FONT_MAKE_SIGWORD(a, b, c, d) \ argument 33 | (static_cast<u8>(c) << 8) | (static_cast<u8>(d) << 0) \
|
| /CTR-SDK-0.14.4/include/nn/net/compatible/nlib/ |
| D | nlib_md5_horizon.h | 38 unsigned long a, b, c, d; member
|
| /CTR-SDK-0.14.4/include/nn/net/compatible/nnet/ |
| D | nnet.h | 138 #define NNET_Swp2( _d ) d
|
| /CTR-SDK-0.14.4/include/nn/hw/ARM/ |
| D | reg_access.h | 39 #define HW_INST_MRC(a,b,c,d,e,v) __asm { mrc a,b,v,c,d,e } argument 41 #define HW_INST_MCR(a,b,c,d,e,v) __asm { mcr a,b,v,c,d,e } argument
|
| /CTR-SDK-0.14.4/sources/libraries/rdt/CTR/ |
| D | rdt_ResendQueue.cpp | 258 Segment d; in Test() local
|