mirror of https://github.com/axmolengine/axmol.git
add cpp function
This commit is contained in:
parent
5feeaf024e
commit
a959986e5e
|
@ -291,7 +291,10 @@ void CCDirector::calculateDeltaTime(void)
|
|||
|
||||
*m_pLastUpdate = now;
|
||||
}
|
||||
|
||||
float CCDirector::getDeltaTime()
|
||||
{
|
||||
return m_fDeltaTime;
|
||||
}
|
||||
void CCDirector::setOpenGLView(CCEGLView *pobOpenGLView)
|
||||
{
|
||||
CCAssert(pobOpenGLView, "opengl view should not be null");
|
||||
|
|
Loading…
Reference in New Issue