M
Michael Sgier
Hi
I get the error:
`Unload' undeclared (first use this function)
but I did in main.cpp:
CMD2Model *myModel = new CMD2Model;
here ( also in main.cpp) I get the above error:
void CleanUp()
{
myModel-->Unload();
delete myModel;
// free(groundTexture);
}
and have also included a header file with the class:
class CMD2Model
{
....
public:
CMD2Model(); // constructor
~CMD2Model(); // destructor
....
// free memory of model
int Unload();
....
Uhmmm whereis the mistake Thanks and regards
Michael
I get the error:
`Unload' undeclared (first use this function)
but I did in main.cpp:
CMD2Model *myModel = new CMD2Model;
here ( also in main.cpp) I get the above error:
void CleanUp()
{
myModel-->Unload();
delete myModel;
// free(groundTexture);
}
and have also included a header file with the class:
class CMD2Model
{
....
public:
CMD2Model(); // constructor
~CMD2Model(); // destructor
....
// free memory of model
int Unload();
....
Uhmmm whereis the mistake Thanks and regards
Michael