2011年5月12日

3D Software Rendering Engine - Part I

摘要: 转自:http://www.codeproject.com/KB/GDI/3DSoftwareRenderingEngine.aspx IntroductionThis is the article about the 3Dsoftwarerendering engine. I will not discuss about the DirectX or OpenGL here. The running example is done in plain Windows GDI.BackgroundYou can find various articles here on theCode Proj 阅读全文

posted @ 2011-05-12 17:59 burellow 阅读(1357) 评论(0) 推荐(0) 编辑

二维指针动态创建二维数组(C/C++)

摘要: 1double**p=newdoube*[5600];2for(inti=0;i<5600;i++)3{4p[i]=newdouble[5600];5}释放:1for(inti=0;i<5600;i++)2{3delete[]p[i];4}5delete[]p;C语言:1double**p=(double**) malloc( 5600*sizeof(double*) );2for(inti=0;i<5600;i++)3{4p[i]=(double*) malloc( 5600*sizeof(double) );5}释放:1for(inti=0;i<5600;i++)2 阅读全文

posted @ 2011-05-12 11:13 burellow 阅读(908) 评论(0) 推荐(0) 编辑

导航