Location:
Search - GraphNode.
Search list
Description: 一个2D基于verlet的Flash物理引擎。它用AS3编写而成。Fisix的目标是应用到游戏等计算量很大的实时应用中。尽管flash比c/c++要慢,很棒的物理引擎-Verlet based on a 2D physics engine for Flash. It has been prepared by AS3. Fisix goal is applied to calculating the amount of games a lot of real-time applications. Although the flash than c/c++ Slower, great physics engine
Platform: |
Size: 1799168 |
Author: psyong |
Hits:
Description: 最短路劲
假设湖是100×100的正方形,设湖的中心在(0,0),湖的东北角的坐标是(50,50)。湖中心的圆形小岛的圆心在(0,0),直径是15.一些凶猛的鳄鱼分布在湖中不同的位置。现已知湖中鳄鱼的位置和James Band可以跳的最大距离,请你告诉James Band一条最短的到达湖边的路径。他逃出去的路径的长度等于他跳的次数。- typedef struct GraphNodeRecord{
int X /* x轴坐标*/
int Y /* y轴坐标*/
unsigned int Step /*跳至该点的步数*/
Vertex Path /*记录上一个点*/
} GraphNode
typedef GraphNode*Graph
Platform: |
Size: 249856 |
Author: 田茵 |
Hits: