Home
last modified time | relevance | path

Searched refs:R (Results 1 – 3 of 3) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/
Dmath_Utility.h53 template <typename T, typename U, typename R, typename S>
54 inline S Max(T a, U b, R c) in Max()
65 template <typename T, typename U, typename R, typename S>
66 inline S Min(T a, U b, R c) in Min()
Dmath_Geometry.h454 f32 DistSqPoint3ToRay3(const VEC3* P, const RAY3* R, f32* t);
464 f32 DistSqLine3ToRay3(const LINE3* L, const RAY3* R, f32* s, f32* t);
478 IntersectionResult IntersectionRay3Plane(const RAY3* R, const PLANE* J, f32* t, VEC3* I);
482 IntersectionResult IntersectionRay3Sphere(const RAY3* R, const SPHERE* sphere, f32* t0, f32* t1);
483 bool IntersectionRay3Sphere(const RAY3* R, const SPHERE* sphere);
486 bool IntersectionRay3AABB(const RAY3* R, const AABB* box, f32* t);
493 bool IntersectionRay3Capsule(const RAY3* R, const CAPSULE* C);
/CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/
Dmath_Geometry.cpp257 DistSqPoint3ToRay3(const VEC3* P, const RAY3* R, f32* t) in DistSqPoint3ToRay3() argument
262 distSq = DistSqPoint3ToLine3(P, (const LINE3*)R, &t_); in DistSqPoint3ToRay3()
269 VEC3Sub(&vec, P, &R->P); in DistSqPoint3ToRay3()
616 DistSqLine3ToRay3(const LINE3* L, const RAY3* R, f32* s, f32* t) in DistSqLine3ToRay3() argument
622 VEC3Sub(&u, &L->P, &R->P); in DistSqLine3ToRay3()
624 b = VEC3Dot(&L->d, &R->d); in DistSqLine3ToRay3()
627 e = VEC3Dot(&R->d, &u); in DistSqLine3ToRay3()
666 VEC3Sub(&v, &v, &R->P); in DistSqLine3ToRay3()
667 VEC3Sub(&v, &v, VEC3Scale(&tmp, &R->d, t_)); in DistSqLine3ToRay3()
949 IntersectionRay3Plane(const RAY3* R, const PLANE* J, f32* t, VEC3* I) in IntersectionRay3Plane() argument
[all …]