Why wont my gun show up?
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
SetCurrentDirectory ( "resources" );
dbLoadObject ( "skybox2.x", 1 );
dbSetObjectLight ( 1, 0 );
dbSetObjectTexture ( 1, 3, 2 );
dbScaleObject ( 1, 5000, 5000, 5000 );
dbLoadObject ( "mp5.x", 2 );
dbPositionObject ( 2, 434, 42, -517 );
dbScaleObject ( 2, 500, 500, 500 );
dbPositionCamera ( 434, 42, -517 );
float fCameraAngleX = 0.0f;
float fCameraAngleY = 0.0f;
while ( LoopGDK ( ) )
{
dbHideMouse ( );
dbControlCameraUsingArrowKeys ( 0, 5.0f, 0.3f );
fCameraAngleX = dbWrapValue ( fCameraAngleX + dbMouseMoveY ( ) * 0.4f );
fCameraAngleY = dbWrapValue ( fCameraAngleY + dbMouseMoveX ( ) * 0.4f );
dbXRotateCamera ( fCameraAngleX );
dbYRotateCamera ( fCameraAngleY );
dbSync ( );
}
return;
}