diff options
Diffstat (limited to 'include/common/geom.h')
-rw-r--r-- | include/common/geom.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/common/geom.h b/include/common/geom.h index 4445998..a843c76 100644 --- a/include/common/geom.h +++ b/include/common/geom.h | |||
@@ -15,16 +15,24 @@ | |||
15 | typedef int32_t IntVector; | 15 | typedef int32_t IntVector; |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * Type: CartesianVector | 18 | * Struct: CartesianVector |
19 | * An abstract 2-D vector in cartesian coordinates. | 19 | * An abstract 2-D vector in cartesian coordinates. |
20 | * | ||
21 | * Fields: | ||
22 | * x - the horizontal component | ||
23 | * y - the vertical component | ||
20 | */ | 24 | */ |
21 | typedef struct { | 25 | typedef struct { |
22 | IntVector x, y; | 26 | IntVector x, y; |
23 | } CartesianVector; | 27 | } CartesianVector; |
24 | 28 | ||
25 | /** | 29 | /** |
26 | * Type: CartesianMapping | 30 | * Struct: CartesianMapping |
27 | * A tuple of cartesian vectors representing a mapping. | 31 | * A tuple of cartesian vectors representing a mapping. |
32 | * | ||
33 | * Fields: | ||
34 | * origin - preimage vector | ||
35 | * target - image vector | ||
28 | */ | 36 | */ |
29 | typedef struct { | 37 | typedef struct { |
30 | CartesianVector origin, target; | 38 | CartesianVector origin, target; |