-
Opengl 的行星系统
这是一个简单的 Opengl 行星系统设在本网站:
http://xcodigoinformatico.blogspot.com.br/2012/09/sistema-planetario-en-opengl-c.html
好吧这是一个非常有用的代码,模拟行星系统,给出细微的差别和运动,在中执行的类型项目
计算机图形学课程。
这是一个简单的程序,模拟行星系统用户 opengl 的初学者。我引用这个网站,还有
更完整的版本,与几个项目: 照明、 z-缓冲,除其他外。此程序可以使用的几何
- 2022-02-20 09:41:10下载
- 积分:1
-
学生管理系统
A student management system
- 2022-04-07 04:03:16下载
- 积分:1
-
一个PE文件编辑工具,可以编辑PE信息和区段,输入表查看,内存地址和文件地址换,还可以查看进程和Dump进程.是一个比较综合的工具....
一个PE文件编辑工具,可以编辑PE信息和区段,输入表查看,内存地址和文件地址换,还可以查看进程和Dump进程.是一个比较综合的工具.-PE stamp text instance, met with startled件Tools, you can meet信startled PE Core messaging 区 kill, HUAI 入 barrels查vessels, twitter Rui Jian-hua Address address text件away, Morrison查you can ship most vehicles Core Dump most vehicles. Did instance, gave birth to war chariot magnetic lift stamp cavity Tools.
- 2023-05-30 08:15:03下载
- 积分:1
-
迷宫追寻小游戏 C++MFC
应用背景
这个游戏为玩家控制红色方块,去吃掉棕色,绿色,蓝色的方块,一旦一个方块被吃,便会自动生成另一个相同颜色的方块。直到游戏时间结束为止。
程序函数功能:
ondraw函数:
显示游戏界面(用画刷刷成白色),显示地图(黑色),显示食物0,1,2(分别为:棕色,绿色,蓝色),显示玩家(红色)
显示文字,时间,分数。
OnEraseBkgnd函数:
用来更新窗口背景,游戏以位图为窗口背景。
OnGameStart函数:
关联窗口菜单中的开始游戏。包括:
IniGame();(初始化游戏)
m_nGameStatus=1;(游戏状态1,开始)
SetTimer(1,100,NULL);(定时器0.1秒执行一次OnTime)
Invalidate();(转向OnDraw)
IniGame函数:
初始化游戏,确定游戏显示位置,确定玩家初始位置,转向IniAim函数
IniAim函数:
初始化目标,这里的三个目标的位置为随机产生。
OnKeyDown函数:
监控设备按下的键,确定玩家移动方向。
ReDisPlay函数:
重画点所在的小方块。减少对Invalidate()的调用,使屏幕不太闪硕。
OmTimer函数:
完成时间的计算。
关键技术游戏中的人工智能:
棕色方块的移动算法为基本寻路算法—物体沿着墙走。
绿色方块的移动算法为基本的逃避算法—物体总会向玩家的反方向移动。
蓝色方块的移动算法为漫游算法—随机产生一个方向值,物体移动的方向不
- 2022-03-23 18:25:51下载
- 积分:1
-
Through a given intersection point coordinates, curve half a catty, slow long, c...
通过给定交点坐标、曲线半斤和缓长,计算各曲线要素和主点里程。-Through a given intersection point coordinates, curve half a catty, slow long, computing elements and the main point of the curve mileage.
- 2022-07-04 05:26:45下载
- 积分:1
-
汇编语言应用实例,用具体例子教你学汇编
汇编语言应用实例,用具体例子教你学汇编
-assembly language application examples, specific examples teach you to learn Series
- 2022-05-08 01:11:08下载
- 积分:1
-
Windows 程序设计(第五版)书的光盘上的源程序,学习这本书非常有用!...
Windows 程序设计(第五版)书的光盘上的源程序,学习这本书非常有用!-Windows programming (fifth edition), the CD of the source, study this book very useful!
- 2023-02-16 14:45:07下载
- 积分:1
-
题目要求:读入两个小于100的正整数A和B,计算A+B。
需要注意的是:A和B的每一位数字由对应的英文单词给出。
输入格式:测试输入包含若干测试用例,每...
题目要求:读入两个小于100的正整数A和B,计算A+B。
需要注意的是:A和B的每一位数字由对应的英文单词给出。
输入格式:测试输入包含若干测试用例,每个测试用例占一行,格式为"A + B =",相邻两字符串有一个空格间隔。当A和B同时为0时输入结束,相应的结果不要输出。
输出格式:对每个测试用例输出1行,即A+B的值。
输入样例:
one + two =
three four + five six =
zero seven + eight nine =
zero + zero =
输出样例:
3
90
96-Title request: read two positive integer less than 100 of the A and B, calculate A+ B. It should be noted that: A and B each of the figures by the corresponding English words are given. Input format: test input contains a number of test cases, test cases for each line, the format for the " A+ B =" , a string of adjacent spaces in the two intervals. When A and B at the same time 0:00 to the end of input, not output the results of the corresponding. Output Format: For each test case output a line, that is, the value of A+ B. Input sample: one+ two = three four+ five six = zero seven+ eight nine = zero+ zero = output sample: 39,096
- 2022-05-18 03:32:14下载
- 积分:1
-
简单的画图工具,用VB能实现画直线矩形圆等
简单的画图工具,用VB能实现画直线矩形圆等-A simple drawing tools, use VB to achieve circular, such as drawing a straight line rectangular
- 2022-01-25 19:03:51下载
- 积分:1
-
C源代码 帮助新手熟悉用C语言开发小型系统
C源代码 帮助新手熟悉用C语言开发小型系统-C source code to help newcomers familiar with the C language development of small systems
- 2023-08-20 04:55:02下载
- 积分:1