Reflection matrix (source code)

= Reflection matrix

A plane reflection with unit normal $n$ is $I-2nn^T$; it fixes the plane $n^\perp$ and negates $n$.