课程设计有关论文范文素材,与主要本科基础课程名单,主要本科基础课程相关毕业论文网
本论文是一篇课程设计有关毕业论文网,关于主要本科基础课程名单,主要本科基础课程相关开题报告范文。免费优秀的关于课程设计及电子系及立方体方面论文范文资料,适合课程设计论文写作的大学硕士及本科毕业论文开题报告范文和学术职称论文参考文献下载。
ect(NULL,FALSE),}
voidCDialogGLDlg::OnPopupSizeIncrease()
{m_ScaleX*等于1.1f,
m_ScaleY*等于1.1f,
m_ScaleZ*等于1.1f,
InvalidateRect(NULL,FALSE),
}
voidCDialogGLDlg::BuildList()
{::glNewList(1,GL_COMPILE_AND_EXECUTE),
glShadeModel(GL_SMOOTH),
floatx等于m_size,
floatxt等于5.0f,
glBegin(GL_POLYGON),//分别绕xyz轴旋转
glNormal3d(0.0,0.0,1.0),
glColor3ub(255,0,0),
glVertex3d(x,x,x),
glColor3ub(0,255,0),
glVertex3d(x,-x,x),
glColor3ub(0,0,255),
glVertex3d(-x,-x,x),
glColor3ub(255,255,0),
glVertex3d(-x,x,x),
glEnd(),
glBegin(GL_POLYGON),
glNormal3d(0.0,0.0,-1.0),
glColor3ub(255,0,0),
glVertex3d(-x,x,-x),
glColor3ub(0,255,0),
glVertex3d(-x,-x,-x),
glColor3ub(0,0,255),
glVertex3d(x,-x,-x),
glColor3ub(255,255,0),
glVertex3d(x,x,-x),
glEnd(),
glBegin(GL_POLYGON),
glNormal3d(1.0,0.0,0.0),
glColor3ub(255,0,0),
glVertex3d(x,x,x),
glColor3ub(0,255,0),
glVertex3d(x,x,-x),
glColor3ub(0,0,255),
glVertex3d(x,-x,-x),
glColor3ub(255,255,0),
glVertex3d(x,-x,x),
glEnd(),
glBegin(GL_POLYGON),
glNormal3d(-1.0,0.0,0.0),
glColor3ub(255,0,0),
glVertex3d(-x,x,x),
glColor3ub(0,255,0),
glVertex3d(-x,x,-x),
glColor3ub(0,0,255),
glVertex3d(-x,-x,-x),
glColor3ub(255,255,0),
glVertex3d(-x,-x,x),
glEnd()
glBegin(GL_POLYGON),
glNormal3d(0.0,-1.0,0.0),
glColor3ub(255,0,0),
glVertex3d(-x,-x,x),
glColor3ub(0,255,0),
glVertex3d(x,-x,x),
glColor3ub(0,0,255),
glVertex3d(x,-x,-x),
glVertex3d(-x,-x,-x),
glEnd(),
glBegin(GL_POLYGON),
glNormal3d(0.0,1.0,0.0),
glColor3ub(255,0,0),
glVertex3d(-x,x,x),
glColor3ub(0,255,0),
glVertex3d(x,x,x),
glColor3ub(0,0,255),
glVertex3d(x,x,-x),
glColor3ub(255,255,0),
glVertex3d(-x,x,-x),
glEnd(),
::glEndList(),
}
voidCDialogGLDlg::OnKeyDown(UINTnChar,
UINTnRepCnt,
UINTnFlags)
{
switch(nChar)
{
caseVK_ADD:
m_ScaleX*等于1.1f,
m_ScaleY*等于1.1f,
m_ScaleZ*等于1.1f,
InvalidateRect(NULL,FALSE),
break,
caseVK_SUBTRACT:
m_ScaleX/等于1.1f,
m_ScaleY/等于1.1f,
m_ScaleZ/等于1.1f,
InvalidateRect(NULL,FALSE),
break,
default:
{}
}
CDialog::OnKeyDown(nChar,nRepCnt,nFlags),
}
voidCDialogGLDlg::Onabout()
{
CAboutDlgdlg,
dlg.DoModal(),
}
CView
CGLView
等等
课程设计有关论文范文素材
COpenGLDC
Object
等等
m_Camera
Gcamera
object
OnCreate()
CreateCOpenGLDC
OnDraw()
M_pGLDC->,Ready()
RenderScene()
M_pGLDC->,Finish()
OnDestroy()
Deletem_pGLDC
CGLView
WindowsMessage
Loop
OnSize()
M_pGLDC->,GLResize()
课程设计有关论文范文素材,与主要本科基础课程名单,主要本科基础课程相关毕业论文网参考文献资料: