Home
last modified time | relevance | path

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

/CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/
Dmath_Geometry.cpp1210 IntersectionRay3AABB_(f32 min, f32 max, f32 o, f32 dir, f32& tNear, f32& tFar) in IntersectionRay3AABB_() argument
1230 if (t1 < tFar) in IntersectionRay3AABB_()
1231 tFar = t1; in IntersectionRay3AABB_()
1233 if (tNear > tFar) in IntersectionRay3AABB_()
1235 if (tFar < 0.f) in IntersectionRay3AABB_()
1246 f32 tFar = internal::infinity; in IntersectionRay3AABB() local
1249 result = IntersectionRay3AABB_(box->Pmin.x, box->Pmax.x, R->P.x, R->d.x, tNear, tFar); in IntersectionRay3AABB()
1253 result = IntersectionRay3AABB_(box->Pmin.y, box->Pmax.y, R->P.y, R->d.y, tNear, tFar); in IntersectionRay3AABB()
1257 result = IntersectionRay3AABB_(box->Pmin.z, box->Pmax.z, R->P.z, R->d.z, tNear, tFar); in IntersectionRay3AABB()
1266 *t = tFar; in IntersectionRay3AABB()