I''ve been wondering if there is a simple solution to the following 3 dimensional problem:
A line L crosses a plane P. Where is the line reflected to, assuming standard reflection (no Pong-ish reflection)?
I''ve got this:
\
\L1
\
\
\
-----X--------- P
\
\L2
and want this:
\
\L1
\
\ /L2''
\ /
-----X--------- P
Don''t we all just love ASCII art!
P is not always a plane in an axis plane.
All I''ve been able to cook up was a matrix, set up from X and the normal on P. But it is extremly complex and slow to compute.
Do you know a fast solution to this problem?
---------------------------
I may be getting older, but I refuse to grow up