Lines Matching refs:P0P1
287 f32 P0P1 = FSqrt((S->P0 - S->P1).LenSq()); in DistSqPoint3ToSegment3() local
299 else if (t_ > P0P1) in DistSqPoint3ToSegment3()
311 *t = t_ / P0P1; in DistSqPoint3ToSegment3()
986 f32 P0P1 = FSqrt(dir.LenSq()); in IntersectionSegment3Plane() local
995 if (t_ >= 0 && t_ <= P0P1) in IntersectionSegment3Plane()
998 *t = t_ / P0P1; in IntersectionSegment3Plane()
1140 f32 P0P1 = FSqrt(dir.LenSq()); in IntersectionSegment3Sphere() local
1150 if (t0_ >= 0.f && t0_ <= P0P1) in IntersectionSegment3Sphere()
1153 *t0 = t0_ / P0P1; in IntersectionSegment3Sphere()
1166 if (t1_ <= P0P1) in IntersectionSegment3Sphere()
1168 f32 tmp = 1.f / P0P1; in IntersectionSegment3Sphere()
1177 else if (t0_ <= P0P1) in IntersectionSegment3Sphere()
1181 *t0 = t0_ / P0P1; in IntersectionSegment3Sphere()
1189 else if (t1_ >= 0.f && t1_ <= P0P1) in IntersectionSegment3Sphere()
1193 *t0 = t1_ / P0P1; in IntersectionSegment3Sphere()