From 987835afe8fc5d46cb3a6359ec80c9f035e72801 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 28 Nov 2017 19:01:51 +0100 Subject: Add module spec headers Signed-off-by: pacien --- include/common/time.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/common/time.h (limited to 'include/common/time.h') 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 @@ +#ifndef UPEM_MORPHING_TIME +#define UPEM_MORPHING_TIME + +/** + * File: time.h + */ + +/** + * Type: TimeVector + * An abstract time vector. + */ +typedef float TimeVector; + +/** + * Constants: Time vectors + * + * TIME_ORIGIN - the origin of times + * TIME_UNIT - a unit time vector + */ +const TimeVector TIME_ORIGIN = 0; +const TimeVector TIME_UNIT = 1; + +#endif -- cgit v1.2.3