diff --git a/window.c b/window.c index 541b1f8..09fe6e6 100644 --- a/window.c +++ b/window.c @@ -29,6 +29,10 @@ static void pmotion(int x, int y); static void mouse(int button, int state, int x, int y); static void goto_obj(float * mvMat); static void move_to(float posx, float posy , float posz); +static void draw_object(float * nmv, float * projMat, surface_t * obj, + float ma, float mx, float my, float mz, + float tx, float ty, float tz, float s, + float ra, float rx, float ry, float rz); static int get_sign(float x, float y); /*!\brief un identifiant pour l'écran (de dessin) */ @@ -76,7 +80,7 @@ static int _overview = 0; // boolean to toggle overview (view from the top). static int _p = -1; // the object (sun, planets, pluto) number to move. static float _s = 1.0f; // multiplier for angle (for speeding planets movement and rotation). static float _a = 0.0f; // rotation angle. -static float _r = 0.0f; +static float _r = 0.0f; // -//- static Mix_Chunk * bsound = NULL; // background sound. @@ -281,7 +285,7 @@ static void goto_obj(float * mvMat) { } } -void draw_object(float * nmv, float * projMat, surface_t * obj, +static void draw_object(float * nmv, float * projMat, surface_t * obj, float ma, float mx, float my, float mz, float tx, float ty, float tz, float s, float ra, float rx, float ry, float rz) {