基于粒子系统的火焰模拟的源代码voidCGLSetup::InitGL(GLsizeiWidth,GLsizeiHeight){//EnableTextureMappingglEnable(GL_TEXTURE_2D);//ThisWillClearTheBackgroundColorToBlackglClearColor(0.0f,0.0f,0.0f,0.0f);//EnablesClearingOfTheDepthBufferglClearDepth(1.0);//EnablesSmoothColorShadingglShadeM