#include "pathlib.qh"
#include "utility.qh"
+/*
vector plib_points2[8];
vector plib_points[8];
float plib_fvals[8];
++fc2;
}
- /*
- nap = pathlib_nodeatpoint(plib_points[i]);
- if(nap)
- if not nap.owner == closedlist)
- {
- }
- */
+ //nap = pathlib_nodeatpoint(plib_points[i]);
+ //if(nap)
+ //if not nap.owner == closedlist)
+ //{
+ //}
}
pathlib_makenode(node, start, bp, goal, pathlib_gridsize);
return pathlib_open_cnt;
}
+*/
float pathlib_expandnode_star(entity node, vector start, vector goal)
{
return pathlib_open_cnt;
}
+/*
float pathlib_expandnode_octagon(entity node, vector start, vector goal)
{
vector point;
point = where + f + r;
pathlib_makenode(node, start, point, goal, pathlib_movecost);
-
// Forward-left
point = where + f - r;
pathlib_makenode(node, start, point, goal, pathlib_movecost);
-
// Back-right
point = where - f + r;
pathlib_makenode(node, start, point, goal, pathlib_movecost);
return pathlib_open_cnt;
}
+*/
float pathlib_expandnode_box(entity node, vector start, vector goal)
{