M
Michael Sgier
Hello
my simpengine header file:
class CSimpEngine : public CEngine
{
private:
CCamera *gameCamera;
protected:
CCamera *OnGetCamera() { return gameCamera; }
}
calling in the main loop:
#include "simpengine.h"
CCamera *camera = OnGetCamera();
gives me the error: ` OnGetCamera' undeclared (first use this function)
What is my error. I declare OnGetCamera in the header file. then i include
and call it?
THANKS and regards
Michael
my simpengine header file:
class CSimpEngine : public CEngine
{
private:
CCamera *gameCamera;
protected:
CCamera *OnGetCamera() { return gameCamera; }
}
calling in the main loop:
#include "simpengine.h"
CCamera *camera = OnGetCamera();
gives me the error: ` OnGetCamera' undeclared (first use this function)
What is my error. I declare OnGetCamera in the header file. then i include
and call it?
THANKS and regards
Michael