I'm getting really angry with this! I want to create a class for my OpenGL Pong game! When I do this:
void setp(GLfloat x, GLfloat y);
}; P PDAT;
void P::setp(GLfloat x, GLfloat y)
p1x = x;
p1y = y;
When I do this, it returns:
syntax error before `.'
Why does it do this?