M
Michael Sgier
Hello
I've a function like:
extern CModelMD3 *pModel;
gameCamera->MoveTo(* pModel);
which returns:
no matching function for call to `CCamera::MoveTo(CModelMD3&)
but in camera.h i've:
void MoveTo(CObject *object);
and in camera.cpp:
void CCamera::MoveTo(CObject *object)
{
....
}
The modelclass is like:
class CModelMD3 : public CObject
I might have missunderstood something here as I'm new to pointers?
Secondly in the book
OpenGL Game Programming there's in the engine example often deltaTime. I
can't find
any definition/declaration. It has random values like 286 but as far as
I've seen always
around 250-350. it's used like position = velocity + deltaTime
What is it? Where is deltaTime defined? How could i use / exchange
deltaTime in Linux/Mac.
THANKS and regards
Michael
I've a function like:
extern CModelMD3 *pModel;
gameCamera->MoveTo(* pModel);
which returns:
no matching function for call to `CCamera::MoveTo(CModelMD3&)
but in camera.h i've:
void MoveTo(CObject *object);
and in camera.cpp:
void CCamera::MoveTo(CObject *object)
{
....
}
The modelclass is like:
class CModelMD3 : public CObject
I might have missunderstood something here as I'm new to pointers?
Secondly in the book
OpenGL Game Programming there's in the engine example often deltaTime. I
can't find
any definition/declaration. It has random values like 286 but as far as
I've seen always
around 250-350. it's used like position = velocity + deltaTime
What is it? Where is deltaTime defined? How could i use / exchange
deltaTime in Linux/Mac.
THANKS and regards
Michael