The vector I and n are given, n is the unit vector, the output is vector r.
my question is the orientation of r.
Since dot(n,l) is the signed length(negative in this case) ,why the vector below n still multiply by "n", and why the vector dot(n,l)*n and "n" have opposite orientations.
In my opinion ,it should be