summaryrefslogtreecommitdiff
path: root/include/common/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/time.h')
-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