文件名称:Particles
介绍说明--下载内容均来自于网络,请自行研究使用
将会增加5行新的代码在我们程序的前面.第一行"stdio.h"允许我们读文件中的数据.它和我们以前用在纹理映射当中是一样的.第二行定义了一些我们要在屏幕上显示的粒子的数目.告诉程序MAX_PARTICLES在这里的数值为1000.第三条行将不断分离的彩色的粒子栓牢在一起,并设置为默认情况.sp和rp用来确定空格键和返回键是否有按住.
-Will increase by 5 lines of code in front of our new program. First line of "stdio.h" allows us to read the file data it and we ve used them in the texture mapping is the same second line defines us the number to be displayed on the screen of the particles. tells the program where the value MAX_PARTICLES 1000. colored particles constantly tied securely separated from the third line together, and set to default. sp and rp is used to determine the spacebar and whether the return key and hold.
-Will increase by 5 lines of code in front of our new program. First line of "stdio.h" allows us to read the file data it and we ve used them in the texture mapping is the same second line defines us the number to be displayed on the screen of the particles. tells the program where the value MAX_PARTICLES 1000. colored particles constantly tied securely separated from the third line together, and set to default. sp and rp is used to determine the spacebar and whether the return key and hold.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Particles.cpp