Lines Matching refs:VEC3Scale
244 VEC3Add(&PP, &L->P, VEC3Scale(&PP, &L->d, t_)); in DistSqPoint3ToLine3()
327 VEC3Sub(Q, P, VEC3Scale(&tmp, &J->N, k)); in DistSqPoint3ToPlane()
528 VEC3Scale(&tmp0, &L0->d, s_), in DistSqLine3ToLine3()
529 VEC3Scale(&tmp1, &L1->d, t_)); in DistSqLine3ToLine3()
665 VEC3Add(&v, &L->P, VEC3Scale(&tmp, &L->d, s_)); in DistSqLine3ToRay3()
667 VEC3Sub(&v, &v, VEC3Scale(&tmp, &R->d, t_)); in DistSqLine3ToRay3()
732 VEC3Add(&v, &L0->P, VEC3Scale(&tmp, &L0->d, s_)); in DistSqLine3ToSegment3()
734 VEC3Sub(&v, &v, VEC3Scale(&tmp, &segDir, t_)); in DistSqLine3ToSegment3()
807 VEC3Add(&v, &R0->P, VEC3Scale(&tmp, &R0->d, s_)); in DistSqRay3ToRay3()
809 VEC3Sub(&v, &v, VEC3Scale(&tmp, &R1->d, t_)); in DistSqRay3ToRay3()
899 VEC3Add(&v, &R0->P, VEC3Scale(&tmp, &R0->d, s_)); in DistSqRay3ToSegment3()
901 VEC3Sub(&v, &v, VEC3Scale(&tmp, &segDir, t_)); in DistSqRay3ToSegment3()
936 VEC3Add(I, &L->P, VEC3Scale(&tmp, &L->d, t_)); in IntersectionLine3Plane()
1565 VEC3Add(&s2->C, &s0->C, VEC3Scale(&diff, &diff, ((newRadius - s0->r)/dist))); in MergeSphere()