From 953ff53ccf92e700c7c25136eabbe6699caa90f9 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 13 May 2010 00:46:21 +0200 Subject: digital/io/src: make angle optional in move FSM --- digital/io/src/playground.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'digital/io/src/playground.h') diff --git a/digital/io/src/playground.h b/digital/io/src/playground.h index 68e17ba0..5c251ce5 100644 --- a/digital/io/src/playground.h +++ b/digital/io/src/playground.h @@ -76,6 +76,10 @@ #define PG_POSITION_DEG(x, y, a) \ { { PG_X (x), PG_Y (y) }, PG_A_DEG (a) } +/** Initialiser for vect_t applying symmetry according to color. */ +#define PG_VECT(x, y) \ + (vect_t) { PG_X (x), PG_Y (y) } + /** * Start zone. */ -- cgit v1.2.3