The direction vector of the line passing through two points P and Q is given by:
d = Q - P
where Q and P are the position vectors of the points Q and P, respectively.
So, in this case, we have:
P = (-8, 1, 4)
Q = (3, -2, 4)
d = Q - P = (3, -2, 4) - (-8, 1,
Show more…