In Tutorial 3 slides, for reflect.cpp, it says not to normalize cause we want the out vector to be of the same length as in.
However in the header file of reflect, it says that inputs are unit vectors in and n and out vector which should be a unit vector which should be returned. So what instruction should be followed.
In Tutorial 3 slides, for reflect.cpp, it says not to normalize cause we want the out vector to be of the same length as in. However in the header file of reflect, it says that inputs are unit vectors in and n and out vector which should be a unit vector which should be returned. So what instruction should be followed.