79 BLI_AStarGraph *as_graph,
int node1_index,
int node2_index,
float cost,
void *custom_data);
typedef float(TangentPoint)[2]
struct BLI_AStarGNode BLI_AStarGNode
struct BLI_AStarGNLink BLI_AStarGNLink
bool BLI_astar_graph_solve(BLI_AStarGraph *as_graph, int node_index_src, int node_index_dst, astar_f_cost f_cost_cb, BLI_AStarSolution *r_solution, int max_steps)
float(* astar_f_cost)(BLI_AStarGraph *as_graph, BLI_AStarSolution *as_solution, BLI_AStarGNLink *link, int node_idx_curr, int node_idx_next, int node_idx_dst)
void BLI_astar_solution_clear(BLI_AStarSolution *as_solution)
struct BLI_AStarGraph BLI_AStarGraph
void BLI_astar_node_init(BLI_AStarGraph *as_graph, int node_index, void *custom_data)
void BLI_astar_node_link_add(BLI_AStarGraph *as_graph, int node1_index, int node2_index, float cost, void *custom_data)
void BLI_astar_solution_init(BLI_AStarGraph *as_graph, BLI_AStarSolution *as_solution, void *custom_data)
void BLI_astar_graph_init(BLI_AStarGraph *as_graph, int node_num, void *custom_data)
int BLI_astar_node_link_other_node(BLI_AStarGNLink *lnk, int idx)
void BLI_astar_solution_free(BLI_AStarSolution *as_solution)
void BLI_astar_graph_free(BLI_AStarGraph *as_graph)
struct BLI_AStarSolution BLI_AStarSolution
struct ListBase neighbor_links
BLI_AStarGNLink ** prev_links