diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-07 16:46:01 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-07-07 16:46:01 -0400 |
commit | 9fc445dc48dd18cc4044d7d06f778b2a50071867 (patch) | |
tree | 61412d92c99aeb48ff616134c5f8209cb046b015 | |
parent | 3a4ef1d6d708b315020ca43724c200d0ec1dd229 (diff) | |
download | wgmr-9fc445dc48dd18cc4044d7d06f778b2a50071867.tar.gz wgmr-9fc445dc48dd18cc4044d7d06f778b2a50071867.zip |
hot the border beams are plotted too
-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 |