| /CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ARMv6/ |
| D | math_Arithmetic.h | 39 f32 HermiteAsm(f32 v0, f32 t0, f32 v1, f32 t1, f32 s); 40 f32 HermiteAsm(f32 v0, f32 t0, f32 v1, f32 t1, f32 p, f32 d); 54 HermiteC(f32 v0, f32 t0, f32 v1, f32 t1, f32 s) in HermiteC() argument 62 return v0 - a2 * v0 + a2 * v1 + b1 * t0 + b2 * t1; in HermiteC() 65 HermiteC_FAST(f32 v0, f32 t0, f32 v1, f32 t1, f32 s) in HermiteC_FAST() argument 79 return v0 - a2 * v0 + a2 * v1 + b1 * t0 + b2 * t1; in HermiteC_FAST() 96 HermiteC(f32 v0, f32 t0, f32 v1, f32 t1, f32 p, f32 d) in HermiteC() argument 101 return v0 + (v0 - v1) * (2 * s - 3) * s * s + p * s_1 * (s_1 * t0 + s * t1); in HermiteC() 105 HermiteC_FAST(f32 v0, f32 t0, f32 v1, f32 t1, f32 p, f32 d) in HermiteC_FAST() argument 117 tmp6 = s * t1; in HermiteC_FAST()
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ |
| D | math_Arithmetic.h | 431 Hermite(f32 v0, f32 t0, f32 v1, f32 t1, f32 s) in Hermite() argument 435 return ARMv6::HermiteC(v0, t0, v1, t1, s); in Hermite() 437 return ARMv6::HermiteC_FAST(v0, t0, v1, t1, s); in Hermite() 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()
|
| D | math_Geometry.h | 481 IntersectionResult IntersectionLine3Sphere(const LINE3* L, const SPHERE* sphere, f32* t0, f32* t1); 482 IntersectionResult IntersectionRay3Sphere(const RAY3* R, const SPHERE* sphere, f32* t0, f32* t1); 484 …ectionResult IntersectionSegment3Sphere(const SEGMENT3* S, const SPHERE* sphere, f32* t0, f32* t1);
|
| /CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/ |
| D | math_Geometry.cpp | 1016 IntersectionLine3Sphere(const LINE3* L, const SPHERE* sphere, f32* t0, f32* t1) in IntersectionLine3Sphere() argument 1035 if (t1) in IntersectionLine3Sphere() 1037 *t1 = (-b + sq) * 0.5f/* inv(2 * a) */; in IntersectionLine3Sphere() 1059 IntersectionRay3Sphere(const RAY3* R, const SPHERE* sphere, f32* t0, f32* t1) in IntersectionRay3Sphere() argument 1088 if (t1) in IntersectionRay3Sphere() 1089 *t1 = t1_; in IntersectionRay3Sphere() 1136 IntersectionSegment3Sphere(const SEGMENT3* S, const SPHERE* sphere, f32* t0, f32* t1) in IntersectionSegment3Sphere() argument 1172 if (t1) in IntersectionSegment3Sphere() 1173 *t1 = t1_ * tmp; in IntersectionSegment3Sphere() 1223 f32 t1 = (max - o) * inv_dir; in IntersectionRay3AABB_() local [all …]
|