summaryrefslogtreecommitdiff
path: root/include/common/time.h
blob: 54a81af5c4a0d824df7c74f4170273269d2e8a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef UPEM_MORPHING_TIME
#define UPEM_MORPHING_TIME

/**
 * File: time.h
 * > Who can say where the road goes...
 * > Where the day flows, only time...
 * -- Enya
 */

#include "geom.h"

/**
 * Constants: Time vectors
 *
 * TIME_ORIGIN - the origin of times
 * TIME_UNIT   - a unit time vector
 */
#define TIME_ORIGIN ((TimeVector) 0)
#define TIME_UNIT ((TimeVector) 1)

/**
 * Type: TimeVector
 * An abstract time vector.
 */
typedef RealVector TimeVector;

#endif