Home
last modified time | relevance | path

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

/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/sources/libraries/math/
Dmath_Geometry.cpp1287 IntersectionSphereAABB(const SPHERE* sphere, const AABB* aabb) in IntersectionSphereAABB() argument
1291 if (sphere->C.x < aabb->Pmin.x) in IntersectionSphereAABB()
1292 distSq += (sphere->C.x - aabb->Pmin.x) * (sphere->C.x - aabb->Pmin.x); in IntersectionSphereAABB()
1293 else if (sphere->C.x > aabb->Pmax.x) in IntersectionSphereAABB()
1294 distSq += (sphere->C.x - aabb->Pmax.x) * (sphere->C.x - aabb->Pmax.x); in IntersectionSphereAABB()
1296 if (sphere->C.y < aabb->Pmin.y) in IntersectionSphereAABB()
1297 distSq += (sphere->C.y - aabb->Pmin.y) * (sphere->C.y - aabb->Pmin.y); in IntersectionSphereAABB()
1298 else if (sphere->C.y > aabb->Pmax.y) in IntersectionSphereAABB()
1299 distSq += (sphere->C.y - aabb->Pmax.y) * (sphere->C.y - aabb->Pmax.y); in IntersectionSphereAABB()
1301 if (sphere->C.z < aabb->Pmin.z) in IntersectionSphereAABB()
[all …]
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/math/
Dmath_Geometry.h488 bool IntersectionSphereAABB(const SPHERE* sphere, const AABB* aabb);