diff options
Diffstat (limited to 'include/common/time.h')
-rw-r--r-- | include/common/time.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/common/time.h b/include/common/time.h new file mode 100644 index 0000000..060b7be --- /dev/null +++ b/include/common/time.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef UPEM_MORPHING_TIME | ||
2 | #define UPEM_MORPHING_TIME | ||
3 | |||
4 | /** | ||
5 | * File: time.h | ||
6 | */ | ||
7 | |||
8 | /** | ||
9 | * Type: TimeVector | ||
10 | * An abstract time vector. | ||
11 | */ | ||
12 | typedef float TimeVector; | ||
13 | |||
14 | /** | ||
15 | * Constants: Time vectors | ||
16 | * | ||
17 | * TIME_ORIGIN - the origin of times | ||
18 | * TIME_UNIT - a unit time vector | ||
19 | */ | ||
20 | const TimeVector TIME_ORIGIN = 0; | ||
21 | const TimeVector TIME_UNIT = 1; | ||
22 | |||
23 | #endif | ||