Lines Matching refs:J
319 DistSqPoint3ToPlane(const VEC3* P, const PLANE* J, VEC3* Q) in DistSqPoint3ToPlane() argument
322 f32 k = J->Test(*P); in DistSqPoint3ToPlane()
327 VEC3Sub(Q, P, VEC3Scale(&tmp, &J->N, k)); in DistSqPoint3ToPlane()
335 DistSqSphereToPlane(const SPHERE* S, const PLANE* J) in DistSqSphereToPlane() argument
337 f32 distance = J->Test(S->C); in DistSqSphereToPlane()
914 IntersectionLine3Plane(const LINE3* L, const PLANE* J, f32* t, VEC3* I) in IntersectionLine3Plane() argument
917 denom = VEC3Dot(&L->d, &J->N); in IntersectionLine3Plane()
921 if (FAbs(VEC3Dot(&J->N, &L->P) + J->d) < internal::epsilon) in IntersectionLine3Plane()
930 f32 t_ = -(VEC3Dot(&J->N, &L->P) + J->d) / denom; in IntersectionLine3Plane()
949 IntersectionRay3Plane(const RAY3* R, const PLANE* J, f32* t, VEC3* I) in IntersectionRay3Plane() argument
954 result = IntersectionLine3Plane((const LINE3*)R, J, &t_, (I != NULL ? &I_ : NULL)); in IntersectionRay3Plane()
980 IntersectionSegment3Plane(const SEGMENT3* S, const PLANE* J, f32* t, VEC3* I) in IntersectionSegment3Plane() argument
990 result = IntersectionLine3Plane(&L, J, &t_, (I != NULL ? &I_ : NULL)); in IntersectionSegment3Plane()
1326 IntersectionPlaneAABB(const PLANE* J, const AABB* B) in IntersectionPlaneAABB() argument
1335 f32 r = E.x * FAbs(J->N.x) + in IntersectionPlaneAABB()
1336 E.y * FAbs(J->N.y) + in IntersectionPlaneAABB()
1337 E.z * FAbs(J->N.z); in IntersectionPlaneAABB()
1340 f32 s = VEC3Dot(&J->N, &C) + J->d; in IntersectionPlaneAABB()
1377 IntersectionPlaneCapsule(const PLANE* J, const CAPSULE* C) in IntersectionPlaneCapsule() argument
1379 f32 s0 = J->Test(C->S.P0); in IntersectionPlaneCapsule()
1380 f32 s1 = J->Test(C->S.P1); in IntersectionPlaneCapsule()