#include <path.h>
Public Methods | |
| void | add_node (float frac, vec3_t pos) |
| adds a node to the path | |
| slong | get_node_num (float) |
| a given position | |
| node_s * | get_node (slong) |
| retrieves a node | |
| vec3_c | get_pos (float frac) |
| get vector for position | |
| void | set_closed (bool b) |
| closed loop? | |
| void | set_length (float f) |
| sets the total length of the path | |
| slong | get_count () |
| get count of nodes | |
Protected Attributes | |
| list_c< node_s > * | nodes |
| list of nodes | |
| bool | closed |
| path loops if true | |
1.2.18