• 大小: 46KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-10
  • 语言: C/C++
  • 标签:

资源简介

用C语言实现三维空间正十二面体的旋转,是计算机图形学中比较基础的操作。

资源截图

代码片段和文件信息

// ChildFrm.cpp : implementation of the CChildframe class
//

#include “stdafx.h“
#include “drawball_a.h“

#include “ChildFrm.h“

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

/////////////////////////////////////////////////////////////////////////////
// CChildframe

IMPLEMENT_DYNCREATE(CChildframe CMDIChildWnd)

BEGIN_MESSAGE_MAP(CChildframe CMDIChildWnd)
//{{AFX_MSG_MAP(CChildframe)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CChildframe construction/destruction

CChildframe::CChildframe()
{
// TODO: add member initialization code here

}

CChildframe::~CChildframe()
{
}

BOOL CChildframe::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
//  the CREATESTRUCT cs
cs.cx = 500;
cs.cy = 500;

if( !CMDIChildWnd::PreCreateWindow(cs) )
return FALSE;

return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CChildframe diagnostics

#ifdef _DEBUG
void CChildframe::AssertValid() const
{
CMDIChildWnd::AssertValid();
}

void CChildframe::Dump(CDumpContext& dc) const
{
CMDIChildWnd::Dump(dc);
}

#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CChildframe message handlers

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1567  2012-05-07 15:15  DrawDodecahedron\ChildFrm.cpp

     文件       1397  2012-05-07 14:55  DrawDodecahedron\ChildFrm.h

     文件      30288  2012-05-07 14:55  DrawDodecahedron\drawball_a.aps

     文件       2903  2012-05-07 16:50  DrawDodecahedron\drawball_a.clw

     文件       4462  2012-05-07 14:55  DrawDodecahedron\drawball_a.cpp

     文件       4767  2012-05-07 14:55  DrawDodecahedron\drawball_a.dsp

     文件        545  2012-05-07 14:55  DrawDodecahedron\drawball_a.dsw

     文件       1400  2012-05-07 14:55  DrawDodecahedron\drawball_a.h

     文件     132096  2012-05-26 13:30  DrawDodecahedron\drawball_a.ncb

     文件      48640  2012-05-26 13:30  DrawDodecahedron\drawball_a.opt

     文件       2090  2012-05-26 13:30  DrawDodecahedron\drawball_a.plg

     文件      12015  2012-05-07 14:55  DrawDodecahedron\drawball_a.rc

     文件       1822  2012-05-07 14:55  DrawDodecahedron\drawball_aDoc.cpp

     文件       1519  2012-05-07 14:55  DrawDodecahedron\drawball_aDoc.h

     文件      14542  2012-05-26 13:08  DrawDodecahedron\drawball_aView.cpp

     文件       2498  2012-05-07 16:50  DrawDodecahedron\drawball_aView.h

     文件       2527  2012-05-07 14:55  DrawDodecahedron\MainFrm.cpp

     文件       1542  2012-05-07 14:55  DrawDodecahedron\MainFrm.h

     文件       4874  2012-05-07 14:55  DrawDodecahedron\ReadMe.txt

     文件       1078  2012-05-07 14:55  DrawDodecahedron\res\drawball_a.ico

     文件        402  2012-05-07 14:55  DrawDodecahedron\res\drawball_a.rc2

     文件       1078  2012-05-07 14:55  DrawDodecahedron\res\drawball_aDoc.ico

     文件       1078  2012-05-07 14:55  DrawDodecahedron\res\Toolbar.bmp

     文件        498  2012-05-07 14:55  DrawDodecahedron\Resource.h

     文件        212  2012-05-07 14:55  DrawDodecahedron\StdAfx.cpp

     文件       1054  2012-05-07 14:55  DrawDodecahedron\StdAfx.h

     目录          0  2012-05-26 11:26  DrawDodecahedron\res

     目录          0  2012-05-26 13:30  DrawDodecahedron

----------- ---------  ---------- -----  ----

               276894                    28

............此处省略1个文件信息

评论

共有 条评论