Jhy3DDoc.cpp
资源名称:Jhy3D.rar [点击查看]
上传用户:eehhbb
上传日期:2022-08-03
资源大小:2550k
文件大小:2k
源码类别:
OpenGL
开发平台:
Visual C++
- // Jhy3DDoc.cpp : implementation of the CJhy3DDoc class
- //
- #include "stdafx.h"
- #include "Jhy3D.h"
- #include "Jhy3DDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CJhy3DDoc
- IMPLEMENT_DYNCREATE(CJhy3DDoc, CDocument)
- BEGIN_MESSAGE_MAP(CJhy3DDoc, CDocument)
- //{{AFX_MSG_MAP(CJhy3DDoc)
- // 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
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CJhy3DDoc construction/destruction
- CJhy3DDoc::CJhy3DDoc()
- {
- // TODO: add one-time construction code here
- }
- CJhy3DDoc::~CJhy3DDoc()
- {
- }
- BOOL CJhy3DDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CJhy3DDoc serialization
- void CJhy3DDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CJhy3DDoc diagnostics
- #ifdef _DEBUG
- void CJhy3DDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CJhy3DDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CJhy3DDoc commands