ipath.h
来自「这是整套横扫千军3D版游戏的源码」· C头文件 代码 · 共 28 行
H
28 行
#ifndef IPATH_H
#define IPATH_H
#include "float3.h"
#include <list>
class IPath {
public:
enum SearchResult {
Ok,
GoalOutOfRange,
CantGetCloser,
Error
};
struct Path {
//Information about the requested path.
float3 desiredGoal;
float goalRadius;
//Information about the generated path.
float3 pathGoal;
std::list<float3> path;
float pathCost;
};
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?