|
rec.set_face_normal(r, outward_normal); |
I' ve noticed that we have already fliped the normal by rec.set_face_normal
in hit
function, the filp class seems to be useless.We may either remove the set normal function in rect::hit
or remove the flip_face class.