Closed alvin-garcia closed 5 years ago
Your fix assumes that the starting point is always going to be outside the plasma.
additionally you are not actually calculating the intersection length of the LOS with the passive grid but with the plasma. It would be better to just take your time and find the edge case that caused the old version to fail.
@lstagner,
After modifying the new version a bit, the check for the starting point is reinserted and the issue with the edge condition is solved. Unless you have another comment, this branch is ready to be merged into the master branch.
Thanks.
Luke?
@lstagner,
Please merge this into master. Thank you.