Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

reflect vector

Given a surface S with a normalized normal vector N.

For given vector V, find reflected vector R.


My approach is to Use dot product and then normalize it?

R = S - 2(S.N)N


Is it correct?

Answers

Sign In or Register to comment.