aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-07-08 00:34:17 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2011-07-08 00:34:17 -0400
commit6427fcb48199bc01953299824ddcd1d54d23afe7 (patch)
tree121e440a3c60ccff30f238269ec1fb7ccc7e439d
parente8a22ec8f3a329aef2484ca657cea7d4b08e71e7 (diff)
downloadwgmr-6427fcb48199bc01953299824ddcd1d54d23afe7.tar.gz
wgmr-6427fcb48199bc01953299824ddcd1d54d23afe7.zip
plotting simplified
-rw-r--r--face_beam_interaction.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/face_beam_interaction.m b/face_beam_interaction.m
index dce399a..33345a2 100644
--- a/face_beam_interaction.m
+++ b/face_beam_interaction.m
@@ -65,7 +65,6 @@ function [is_face_hit, hit_position, hit_distance, new_beams] = face_beam_inter
%plot(x,y,line_str);
line_color = color_gradient( beam.intensity*Ncolors, line_base_color, Ncolors);
line([beam.origin(1), hit_position(1)], [beam.origin(2), hit_position(2)], 'color', line_color, 'linewidth', 3, 'linestyle', '-');
-
% find is beam arriving from left or right. I will use vectors cross product property.
% if z component of the product 'k x kf' is positive then beam arrives from the left