summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
Diffstat (limited to 'include/common')
-rw-r--r--include/common/geom.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/common/geom.h b/include/common/geom.h
index 15a1d57..4445998 100644
--- a/include/common/geom.h
+++ b/include/common/geom.h
@@ -5,6 +5,7 @@
5 * File: geom.h 5 * File: geom.h
6 */ 6 */
7 7
8#include <stdbool.h>
8#include <inttypes.h> 9#include <inttypes.h>
9 10
10/** 11/**
@@ -29,4 +30,17 @@ typedef struct {
29 CartesianVector origin, target; 30 CartesianVector origin, target;
30} CartesianMapping; 31} CartesianMapping;
31 32
33/**
34 * Function: vector_equals
35 * Compares two cartesian vectors.
36 *
37 * Parameters:
38 * v1 - the first vector
39 * v2 - the second vector
40 *
41 * Returns:
42 * T(v1 is equal to v2)
43 */
44bool vector_equals(CartesianVector v1, CartesianVector v2);
45
32#endif 46#endif