Home
last modified time | relevance | path

Searched refs:sphere (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/
Dmath_Geometry.cpp1016 IntersectionLine3Sphere(const LINE3* L, const SPHERE* sphere, f32* t0, f32* t1) in IntersectionLine3Sphere() argument
1020 VEC3Sub(&PmC, &L->P, &sphere->C); in IntersectionLine3Sphere()
1023 c = VEC3SquareLen(&PmC) - sphere->r * sphere->r; in IntersectionLine3Sphere()
1059 IntersectionRay3Sphere(const RAY3* R, const SPHERE* sphere, f32* t0, f32* t1) in IntersectionRay3Sphere() argument
1063 result = IntersectionLine3Sphere((const LINE3*)R, sphere, &t0_, &t1_); in IntersectionRay3Sphere()
1115 IntersectionRay3Sphere(const RAY3* R, const SPHERE* sphere) in IntersectionRay3Sphere() argument
1118 VEC3Sub(&w, &sphere->C, &R->P); in IntersectionRay3Sphere()
1121 f32 rsq = sphere->r * sphere->r; in IntersectionRay3Sphere()
1136 IntersectionSegment3Sphere(const SEGMENT3* S, const SPHERE* sphere, f32* t0, f32* t1) in IntersectionSegment3Sphere() argument
1144 result = IntersectionLine3Sphere(&L, sphere, &t0_, &t1_); in IntersectionSegment3Sphere()
[all …]
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/
Dmath_Geometry.h481 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);
483 bool IntersectionRay3Sphere(const RAY3* R, const SPHERE* sphere);
484 IntersectionResult IntersectionSegment3Sphere(const SEGMENT3* S, const SPHERE* sphere, f32* t0, f32…
488 bool IntersectionSphereAABB(const SPHERE* sphere, const AABB* aabb);