Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

path_c Class Reference

a 3d path class

#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_sget_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


The documentation for this class was generated from the following files:
Generated on Wed Dec 18 15:48:49 2002 for omicron engine by doxygen1.2.18