Assume that we have one normalised 3D vector (D) representing direction and another 3D vector representing a position (P).
How can we calculate the dot product of D and P?
If it was the dot product of two normalised directional vectors, it would just be one.x * two.x + one.y * two.y + one.z * two.z.