文件名称:MyCollision1
介绍说明--下载内容均来自于网络,请自行研究使用
基于vc++使用opengl编写的3D球体,可以通过鼠标点击改变颜色。
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX)
//{{AFX_DATA_MAP(CAboutDlg)
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
//{{AFX_MSG_MAP(CAboutDlg)
// No message handlers
//}}AFX_MSG_MAP
END_MESSAGE_MAP()-Vc++ to use based on the preparation of the 3D sphere opengl, you can change the color of the mouse click. void CAboutDlg:: DoDataExchange (CDataExchange* pDX) (CDialog:: DoDataExchange (pDX) // ((AFX_DATA_MAP (CAboutDlg)//)) AFX_DATA_MAP) BEGIN_MESSAGE_MAP (CAboutDlg, CDialog)// ((AFX_MSG_MAP (CAboutDlg)// No message handlers//)) AFX_MSG_MAP END_MESSAGE_MAP ()
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX)
//{{AFX_DATA_MAP(CAboutDlg)
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
//{{AFX_MSG_MAP(CAboutDlg)
// No message handlers
//}}AFX_MSG_MAP
END_MESSAGE_MAP()-Vc++ to use based on the preparation of the 3D sphere opengl, you can change the color of the mouse click. void CAboutDlg:: DoDataExchange (CDataExchange* pDX) (CDialog:: DoDataExchange (pDX) // ((AFX_DATA_MAP (CAboutDlg)//)) AFX_DATA_MAP) BEGIN_MESSAGE_MAP (CAboutDlg, CDialog)// ((AFX_MSG_MAP (CAboutDlg)// No message handlers//)) AFX_MSG_MAP END_MESSAGE_MAP ()
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MyCollision1
............\Image.cpp
............\Image.h
............\MainFrm.cpp
............\MainFrm.h
............\Mathex.h
............\Matrix33.cpp
............\Matrix33.h
............\MyCollision1.aps
............\MyCollision1.clw
............\MyCollision1.cpp
............\MyCollision1.dsp
............\MyCollision1.dsw
............\MyCollision1.h
............\Image.cpp
............\Image.h
............\MainFrm.cpp
............\MainFrm.h
............\Mathex.h
............\Matrix33.cpp
............\Matrix33.h
............\MyCollision1.aps
............\MyCollision1.clw
............\MyCollision1.cpp
............\MyCollision1.dsp
............\MyCollision1.dsw
............\MyCollision1.h