summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-08-10 17:26:56 +0100
committerHenrik Rydberg <rydberg@euromail.se>2010-08-10 17:30:17 +0100
commit5abd33f31af910fe1cbdd270bbd2c1342799b576 (patch)
tree4c93efdcfdf1a6e6b7e18e5e7442d002e42a0005 /include
parent212a4c23ffde2c5e220665f0a32cca534dc64ede (diff)
change rotation units to angles
Use angle units, such that a complete revolution corresponds to 2 pi. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include')
-rw-r--r--include/grail-types.h6
1 files changed, 3 insertions, 3 deletions
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 @@
64#define GRAIL_PROP_PINCH_X2 5 /* bounding box x2 */ 64#define GRAIL_PROP_PINCH_X2 5 /* bounding box x2 */
65#define GRAIL_PROP_PINCH_Y2 6 /* bounding box y2 */ 65#define GRAIL_PROP_PINCH_Y2 6 /* bounding box y2 */
66 66
67#define GRAIL_PROP_ROTATE_DA 0 /* arc delta */ 67#define GRAIL_PROP_ROTATE_DA 0 /* angle delta */
68#define GRAIL_PROP_ROTATE_VA 1 /* arc velocity */ 68#define GRAIL_PROP_ROTATE_VA 1 /* angular velocity */
69#define GRAIL_PROP_ROTATE_A 2 /* arc */ 69#define GRAIL_PROP_ROTATE_A 2 /* angle */
70 70
71#define GRAIL_PROP_TAP_DT 0 /* tap time (ms) */ 71#define GRAIL_PROP_TAP_DT 0 /* tap time (ms) */
72#define GRAIL_PROP_TAP_X 1 /* horizontal position */ 72#define GRAIL_PROP_TAP_X 1 /* horizontal position */