summaryrefslogtreecommitdiff
path: root/beam2face_distance.m
diff options
context:
space:
mode:
Diffstat (limited to 'beam2face_distance.m')
-rw-r--r--beam2face_distance.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/beam2face_distance.m b/beam2face_distance.m
index 1f6a44f..d7d5a61 100644
--- a/beam2face_distance.m
+++ b/beam2face_distance.m
@@ -2,7 +2,7 @@ function [hit_distance, hit_position, is_face_hit] = beam2face_distance(beam,fac
%% return distance to face if beam hits it or infinity otherwise
% for beams and faces structure description see face_beam_interaction.m
- % defaul returning values fot the case when beam misses the face
+ % default returning values for the case when beam misses the face
is_face_hit = false;
hit_position = [NA, NA];
hit_distance = Inf;