Hey so I installed 2008 c++ express and such. Nothing 3d is displaying on the screen. What to do?
// Dark GDK - The Game Creators - www.thegamecreators.com
// the wizard has created a very simple project that uses Dark GDK
// it contains the basic code for a GDK application
// whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 30 );
dbMakeObjectBox(1,10,10,10);
int tt=13; // temp value
// our main loop
while ( LoopGDK ( ) )
{
dbPositionCamera(13,13,13); dbPointCamera(dbObjectPositionX(1),dbObjectPositionY(1),dbObjectPositionZ(1));
// update the screen
dbSync ( );
}
// return back to windows
return;