< Back to IRCAM Forum

Function (duplicate 'reflection)

Dear friends,

There is a question with the function (duplicate 'reflection).
I rewrite the example in the manual “finite element” (page 8) in Common Lisp (see attachment), but this function works not like demonstrated in the manual.

With the correct normal vector (vector 0 0 1), the point (0 0 1) could not be reflected and extruded to (0 0 -1). But with the normal vector (vector 1 0 0) (= with reflection plane yz), it works like being reflected by the normal vector (vector 0 0 1) (= with reflection plane xy), I guess there is something which is not clear…

dup_reflection_issue.lisp (632 Bytes)

1 Like