Lines Matching refs:VEC3Sub

37     VEC3Sub(&v0, P2, P0);  in Set()
38 VEC3Sub(&v1, P1, P0); in Set()
241 f32 t_ = VEC3Dot(&L->d, VEC3Sub(&LP, P, &L->P)); in DistSqPoint3ToLine3()
247 VEC3Sub(&PP_P, P, &PP); in DistSqPoint3ToLine3()
269 VEC3Sub(&vec, P, &R->P); in DistSqPoint3ToRay3()
296 VEC3Sub(&vec, P, &S->P0); in DistSqPoint3ToSegment3()
305 VEC3Sub(&vec, P, &S->P1); in DistSqPoint3ToSegment3()
327 VEC3Sub(Q, P, VEC3Scale(&tmp, &J->N, k)); in DistSqPoint3ToPlane()
493 VEC3Sub(&u, &L0->P, &L1->P); in DistSqLine3ToLine3()
527 VEC3Sub(&tmp2, in DistSqLine3ToLine3()
622 VEC3Sub(&u, &L->P, &R->P); in DistSqLine3ToRay3()
666 VEC3Sub(&v, &v, &R->P); in DistSqLine3ToRay3()
667 VEC3Sub(&v, &v, VEC3Scale(&tmp, &R->d, t_)); in DistSqLine3ToRay3()
676 VEC3Sub(&segDir, &S->P1, &S->P0); in DistSqLine3ToSegment3()
682 VEC3Sub(&u, &L0->P, &S->P0); in DistSqLine3ToSegment3()
733 VEC3Sub(&v, &v, &S->P0); in DistSqLine3ToSegment3()
734 VEC3Sub(&v, &v, VEC3Scale(&tmp, &segDir, t_)); in DistSqLine3ToSegment3()
747 VEC3Sub(&u, &R0->P, &R1->P); in DistSqRay3ToRay3()
808 VEC3Sub(&v, &v, &R1->P); in DistSqRay3ToRay3()
809 VEC3Sub(&v, &v, VEC3Scale(&tmp, &R1->d, t_)); in DistSqRay3ToRay3()
822 VEC3Sub(&segDir, &S->P1, &S->P0); in DistSqRay3ToSegment3()
823 VEC3Sub(&u, &R0->P, &S->P0); in DistSqRay3ToSegment3()
900 VEC3Sub(&v, &v, &S->P0); in DistSqRay3ToSegment3()
901 VEC3Sub(&v, &v, VEC3Scale(&tmp, &segDir, t_)); in DistSqRay3ToSegment3()
985 VEC3Sub(&dir, &S->P1, &S->P0); in IntersectionSegment3Plane()
1020 VEC3Sub(&PmC, &L->P, &sphere->C); in IntersectionLine3Sphere()
1118 VEC3Sub(&w, &sphere->C, &R->P); in IntersectionRay3Sphere()
1139 VEC3Sub(&dir, &S->P1, &S->P0); in IntersectionSegment3Sphere()
1316 VEC3Sub(&centerDiff, &s0->C, &s1->C); in IntersectionSphere()
1331 VEC3Sub(&E, &B->Pmax, &C); // ここでEの要素は全て正である。 in IntersectionPlaneAABB()
1547 VEC3Sub(&diff, &s1->C, &s0->C); in MergeSphere()