diff options
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); |