summaryrefslogtreecommitdiff
path: root/flogo.h
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-10-03 14:18:27 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-10-03 14:18:27 +0200
commit0eb6ce70981deb5b711f49c77930c49181f59d95 (patch)
tree8ef4d30734993bd3ee3f95fd08c9573a23baeea8 /flogo.h
parent5a93cdaf5d4fcefe664271bb8f233044059f3ad3 (diff)
¯\_(ツ)_/¯
Diffstat (limited to 'flogo.h')
-rw-r--r--flogo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/flogo.h b/flogo.h
new file mode 100644
index 0000000..f5b1065
--- /dev/null
+++ b/flogo.h
@@ -0,0 +1,12 @@
+#pragma once
+
+const int WIDTH=1000,HEIGHT=1000;
+
+struct Turtle{
+ double x=WIDTH/2,y=HEIGHT/2,dir=0; //dir in degrees, URDL
+};
+
+extern Turtle turtle;
+
+void drawturtle(void);
+void drawline(int x1,int y1,int x2,int y2);