summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorpacien2017-12-02 01:14:50 +0100
committerpacien2017-12-02 01:14:50 +0100
commitfbe226b2a8212d80c49e4ac54a05ecd60b37d722 (patch)
tree8859ca7961b5fb3d0a8d36c1f932d4c3c6efd460 /include/common
parent2c8edf0e358c12619ec3f9d1e98c0035246218f9 (diff)
downloadmorpher-fbe226b2a8212d80c49e4ac54a05ecd60b37d722.tar.gz
Redefine time constants
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'include/common')
-rw-r--r--include/common/time.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/common/time.h b/include/common/time.h
index 060b7be..54a7bb2 100644
--- a/include/common/time.h
+++ b/include/common/time.h
@@ -6,18 +6,18 @@
6 */ 6 */
7 7
8/** 8/**
9 * Type: TimeVector 9 * Constants: Time vectors
10 * An abstract time vector. 10 *
11 * TIME_ORIGIN - the origin of times
12 * TIME_UNIT - a unit time vector
11 */ 13 */
12typedef float TimeVector; 14#define TIME_ORIGIN ((TimeVector) 0)
15#define TIME_UNIT ((TimeVector) 1)
13 16
14/** 17/**
15 * Constants: Time vectors 18 * Type: TimeVector
16 * 19 * An abstract time vector.
17 * TIME_ORIGIN - the origin of times
18 * TIME_UNIT - a unit time vector
19 */ 20 */
20const TimeVector TIME_ORIGIN = 0; 21typedef float TimeVector;
21const TimeVector TIME_UNIT = 1;
22 22
23#endif 23#endif