diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-10-03 14:18:27 +0200 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-10-03 14:18:27 +0200 |
commit | 0eb6ce70981deb5b711f49c77930c49181f59d95 (patch) | |
tree | 8ef4d30734993bd3ee3f95fd08c9573a23baeea8 /flogo.h | |
parent | 5a93cdaf5d4fcefe664271bb8f233044059f3ad3 (diff) |
¯\_(ツ)_/¯
Diffstat (limited to 'flogo.h')
-rw-r--r-- | flogo.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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); |