Fresnel
public class Fresnel : Line
A specialized RayTracer
that collimates intersecting rays and casts them along the vector normal of the lens
-
Collimate rays hitting the back of the Fresnel.
Rays hitting the “front” of the Fresnel will be terminated.
Declaration
Swift
public override func modifyRay(_ ray: Ray)
Parameters
ray
The ray to modify