summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/playground.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/playground.h')
-rw-r--r--digital/io/src/playground.h4
1 files changed, 4 insertions, 0 deletions
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.
*/