…s a radius greater than focal length, a nan will result and the ray will be assumed to miss the surface. Same thing if iterations goes beyond 25. Missed rays (for wsPrimary,wsSecondary,wsPrimaryBack,wsSecondaryBack) will simply revert the rays position to its starting position.
I also added a test module in the examples directory. This includes a few functions to launch rays at Wolter-Schwarzschild surfaces over large ranges. I used this to investigate whether the algorithms were robust or not.
…s a radius greater than focal length, a nan will result and the ray will be assumed to miss the surface. Same thing if iterations goes beyond 25. Missed rays (for wsPrimary,wsSecondary,wsPrimaryBack,wsSecondaryBack) will simply revert the rays position to its starting position.
I also added a test module in the examples directory. This includes a few functions to launch rays at Wolter-Schwarzschild surfaces over large ranges. I used this to investigate whether the algorithms were robust or not.