aboutsummaryrefslogtreecommitdiff
path: root/face_beam_interaction.m
diff options
context:
space:
mode:
Diffstat (limited to 'face_beam_interaction.m')
-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