FILE* pSrcFile = NULL;
+ char buf[512];
+ sprintf(buf,"SkyArchive::Load(%s)",pFileName);
+ SkyTrace(buf);
if (NULL == (pSrcFile = fopen(pFileName, "rb"))) // file opened successfully
{
SkyTrace("Error: SkyArchive::Load(): failed to open file for reading.");
//_ssgCurrentContext->cull(r) ;
//_ssgDrawDList () ;
- SceneManager::InstancePtr()->Display(*pCam);
+ SceneManager::InstancePtr()->Update(*pCam);
+ SceneManager::InstancePtr()->Display(*pCam);
- //pLight->Display(); // draw the light position to debug with sun position
+ //pLight->Display(); // draw the light position to debug with sun position
glMatrixMode ( GL_MODELVIEW ) ;
glLoadIdentity () ;
-}
\ No newline at end of file
+}