summaryrefslogtreecommitdiff
path: root/include/common/time.h
diff options
context:
space:
mode:
authorpacien2017-11-28 19:01:51 +0100
committerpacien2017-11-28 19:01:51 +0100
commit987835afe8fc5d46cb3a6359ec80c9f035e72801 (patch)
treee93ddebbfc15900f9307df446e420c086f8a2ebd /include/common/time.h
parentac60669cd3a93312f0ff186055e61a5e3fb5fcdd (diff)
downloadmorpher-987835afe8fc5d46cb3a6359ec80c9f035e72801.tar.gz
Add module spec headers
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'include/common/time.h')
-rw-r--r--include/common/time.h23
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 */
12typedef float TimeVector;
13
14/**
15 * Constants: Time vectors
16 *
17 * TIME_ORIGIN - the origin of times
18 * TIME_UNIT - a unit time vector
19 */
20const TimeVector TIME_ORIGIN = 0;
21const TimeVector TIME_UNIT = 1;
22
23#endif