summaryrefslogtreecommitdiff
path: root/digital/avr/modules/math/geometry/intersection.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/avr/modules/math/geometry/intersection.h')
-rw-r--r--digital/avr/modules/math/geometry/intersection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/digital/avr/modules/math/geometry/intersection.h b/digital/avr/modules/math/geometry/intersection.h
index faff928c..c1998fb2 100644
--- a/digital/avr/modules/math/geometry/intersection.h
+++ b/digital/avr/modules/math/geometry/intersection.h
@@ -31,7 +31,8 @@
* - a, b: first line segment vertices.
* - c, d: second line segment vertices.
*
- * If AB and CD are parallel, consider there is no intersection. */
+ * If AB and CD are parallel or if a vertice is exactly on the other segment,
+ * consider there is no intersection. */
uint8_t
intersection_segment_segment (const vect_t *a, const vect_t *b,
const vect_t *c, const vect_t *d);