diff options
author | Adam NAILI | 2017-12-10 11:37:22 +0100 |
---|---|---|
committer | Adam NAILI | 2017-12-10 11:37:22 +0100 |
commit | 14808ee3083f788fd84c898632407c4d4b4e50d8 (patch) | |
tree | 784bed8f4b8dae5e0b8933e08ddbb4a4c4253b79 /include/common/geom.h | |
parent | 16b67f89eccc78ed6d04f889cae8c2e5c2a3b49d (diff) | |
parent | 7beb6bfadb504f8d1d7c1d069986e9eb9cd32673 (diff) | |
download | morpher-14808ee3083f788fd84c898632407c4d4b4e50d8.tar.gz |
Merge remote-tracking branch 'origin/master' into gui
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; |