diff options
Diffstat (limited to 'beam_trace.m')
-rw-r--r-- | beam_trace.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/beam_trace.m b/beam_trace.m index 53bb4b6..9a56192 100644 --- a/beam_trace.m +++ b/beam_trace.m @@ -17,7 +17,6 @@ function img = beam_trace(beams, faces, borders, border_limits, img) beam=beams{i}; [is_face_hit, hit_position, hit_distance, new_beams] = face_beam_interaction(beam, faces); if (is_face_hit) - img=make_beam_trace(beam, hit_position, border_limits, img); %% remove beams which are to weak to trace N_new_beams=size(new_beams)(2); intense_enough_beams={}; @@ -37,6 +36,7 @@ function img = beam_trace(beams, faces, borders, border_limits, img) error('borders are badly defined, the beam misses them'); end end + img=make_beam_trace(beam, hit_position, border_limits, img); end end |