The direction vector can be found by subtracting the coordinates of the two given points. Let's denote the first point as $P_1(1.0,2.4,4.6)$ and the second point as $P_2(2.6,1.2,0.3)$. The direction vector $\vec{v}$ is then given by $\vec{v} = P_2 - P_1$.
Show more…