From 5abd33f31af910fe1cbdd270bbd2c1342799b576 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 10 Aug 2010 17:26:56 +0100 Subject: change rotation units to angles Use angle units, such that a complete revolution corresponds to 2 pi. Signed-off-by: Henrik Rydberg --- include/grail-types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/grail-types.h b/include/grail-types.h index 9f7160d..83a653c 100644 --- a/include/grail-types.h +++ b/include/grail-types.h @@ -64,9 +64,9 @@ #define GRAIL_PROP_PINCH_X2 5 /* bounding box x2 */ #define GRAIL_PROP_PINCH_Y2 6 /* bounding box y2 */ -#define GRAIL_PROP_ROTATE_DA 0 /* arc delta */ -#define GRAIL_PROP_ROTATE_VA 1 /* arc velocity */ -#define GRAIL_PROP_ROTATE_A 2 /* arc */ +#define GRAIL_PROP_ROTATE_DA 0 /* angle delta */ +#define GRAIL_PROP_ROTATE_VA 1 /* angular velocity */ +#define GRAIL_PROP_ROTATE_A 2 /* angle */ #define GRAIL_PROP_TAP_DT 0 /* tap time (ms) */ #define GRAIL_PROP_TAP_X 1 /* horizontal position */ -- cgit v1.2.3