Using try catch for control flow is not great. It has performance implications and makes the code pretty confusing to read. Using a return value from raytrace! might work just as well here.
Using try catch for control flow is not great. It has performance implications and makes the code pretty confusing to read. Using a return value from raytrace! might work just as well here.