X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=inline;f=course%2Fsemester2%2Fpprog%2Fassignment1%2Fsingle-thread%2Fgraphics.h;h=c2b99f38ba6c2f992617e3c2e731d0339ffdc38d;hb=df06a43b2727b939ee572a1ddaa39e707aff030a;hp=b3f9dc54686671a1c5d06f53bc4882ef0d838958;hpb=7a341db1fbf5db94b711135b2a79e852c6fb1bc4;p=matches%2Fhonours.git diff --git a/course/semester2/pprog/assignment1/single-thread/graphics.h b/course/semester2/pprog/assignment1/single-thread/graphics.h index b3f9dc54..c2b99f38 100644 --- a/course/semester2/pprog/assignment1/single-thread/graphics.h +++ b/course/semester2/pprog/assignment1/single-thread/graphics.h @@ -5,7 +5,7 @@ * @file graphics.h * @author Sam Moore (20503628) 2012 - adapted from template program provided by UWA * @purpose N-Body simulator - declarations of all graphics related functions - * NOTE: I prefer to keep graphics entirely seperate from the simulation as much as possible, hence seperate files + * NOTE: I prefer to keep graphics seperate from the simulation as much as possible, hence seperate files */ #include @@ -28,13 +28,13 @@ #define WORLD_FAR 1000000 #define BALL_SIZE 0.5 #define REFRESH_RATE 0.001 -#define LINE_SIZE 1000 -void Graphics_Init(void); + +void Graphics_Run(int argc, char ** argv); void Graphics_Display(void); void Graphics_Keyboard(unsigned char key, int mouse_x, int mouse_y); void Graphics_Reshape(int width, int height); -void Graphics_Animate(void); + #endif //_GRAPHICS_H