91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 6.82MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-05
  • 語言: 其他
  • 標簽: OPenGL??3D??

資源簡介

OPenGL實現 3DS衛星地球,非常經典的學習代碼

資源截圖

代碼片段和文件信息

//?3DSglLoader.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“3DSglLoader.h“

#include?“MainFrm.h“
#include?“3DSglLoaderDoc.h“
#include?“3DSglLoaderView.h“

#include?“SatGL.h“


#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CMy3DSglLoaderApp

BEGIN_MESSAGE_MAP(CMy3DSglLoaderApp?CWinApp)
//{{AFX_MSG_MAP(CMy3DSglLoaderApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CMy3DSglLoaderApp?construction

CMy3DSglLoaderApp::CMy3DSglLoaderApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy3DSglLoaderApp?object

CMy3DSglLoaderApp?theApp;



/////////////////////////////////////////////////////////////////////////////
//?CMy3DSglLoaderApp?initialization

BOOL?CMy3DSglLoaderApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)

//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.

CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CMy3DSglLoaderDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CMy3DSglLoaderView));
AddDocTemplate(pDocTemplate);

//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);

//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;

//?The?one?and?only?win

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-08-23?13:36??3DS衛星地球\
?????文件??????422828??2012-05-30?17:11??3DS衛星地球\3DSglLoader.aps
?????文件????????2581??2012-05-30?17:14??3DS衛星地球\3DSglLoader.clw
?????文件????????4355??2012-03-14?22:30??3DS衛星地球\3DSglLoader.cpp
?????文件????????5104??2012-03-21?12:18??3DS衛星地球\3DSglLoader.dsp
?????文件?????????547??2002-01-19?19:31??3DS衛星地球\3DSglLoader.dsw
?????文件????????1418??2002-01-19?19:31??3DS衛星地球\3DSglLoader.h
?????文件??????254976??2012-05-30?17:14??3DS衛星地球\3DSglLoader.ncb
?????文件???????53760??2012-05-30?17:14??3DS衛星地球\3DSglLoader.opt
?????文件?????????256??2012-05-30?17:11??3DS衛星地球\3DSglLoader.plg
?????文件???????11857??2012-03-15?09:53??3DS衛星地球\3DSglLoader.rc
?????文件????????1876??2002-01-19?19:31??3DS衛星地球\3DSglLoaderDoc.cpp
?????文件????????1541??2002-01-19?19:31??3DS衛星地球\3DSglLoaderDoc.h
?????文件???????16778??2012-03-21?20:30??3DS衛星地球\3DSglLoaderView.cpp
?????文件????????2947??2012-03-20?00:48??3DS衛星地球\3DSglLoaderView.h
?????文件???????37035??2002-01-19?17:10??3DS衛星地球\DC10.H
?????目錄???????????0??2012-08-23?13:36??3DS衛星地球\Debug\
?????文件?????5604352??2012-03-21?20:30??3DS衛星地球\Debug\3DSglLoader.bsc
?????文件??????671865??2012-03-21?20:30??3DS衛星地球\Debug\3DSglLoader.exe
?????文件??????444628??2012-03-21?20:30??3DS衛星地球\Debug\3DSglLoader.ilk
?????文件???????24016??2012-03-15?09:03??3DS衛星地球\Debug\3DSglLoader.obj
?????文件?????7158616??2012-03-13?15:39??3DS衛星地球\Debug\3DSglLoader.pch
?????文件??????549888??2012-03-21?20:30??3DS衛星地球\Debug\3DSglLoader.pdb
?????文件??????400724??2012-03-15?09:54??3DS衛星地球\Debug\3DSglLoader.res
?????文件???????????0??2012-03-15?09:03??3DS衛星地球\Debug\3DSglLoader.sbr
?????文件???????15864??2012-03-13?15:39??3DS衛星地球\Debug\3DSglLoaderDoc.obj
?????文件???????????0??2012-03-13?15:39??3DS衛星地球\Debug\3DSglLoaderDoc.sbr
?????文件??????103284??2012-03-21?20:30??3DS衛星地球\Debug\3DSglLoaderView.obj
?????文件???????????0??2012-03-21?20:30??3DS衛星地球\Debug\3DSglLoaderView.sbr
?????文件???????35008??2002-12-28?19:21??3DS衛星地球\Debug\HUBBLE.GL
?????文件???????20849??2012-03-15?10:36??3DS衛星地球\Debug\MainFrm.obj
............此處省略35個文件信息

評論

共有 條評論