OpenGL - Zwei oder mehrere Daten Typen in Deklaration von 'mouse'?

HORNSWOGGLE

C++ Beginner
Hi,

Wie im Titel schon beschrieben, doch was genau soll das Bedeuten?

Code:
 static void
  void mouse(int button, int state, int x, int y)
{
    if(button == GLUT_LEFT_BUTTON && state == GLUT_DOWN)
    {
        float pointX, pointY;

        pointX = (float)x/winWIDTH;
        pointY = (float)(winHEIGHT - y)/winHEIGHT;

        }
    
}

Der Compiler sagt mir das ich zwei oder mehrere Daten Typen im Parameterraum von void mouse hätte, diese aber alle vom selben Typ sind, hat es vll. mit der Anzahl zu tun?
 
Zurück