ddgPath Class Reference (original) (raw)

Public Members

void

add ( ddgVector3 *, ddgVector3 *)

Record a camera position.

void

get ( ddgVector3 *, ddgVector3 *, unsigned int)

Set the camera position and direction for a given frame.

unsigned int

frames (void)

Return the number of frames recorded.

ddgPath ( ddgStr *filename )

Create a path from a file.

ddgPath ( void )

Create a path.

void

get ( ddgVector3 *p, ddgVector3 *o, unsigned int frame )

Set the camera position and direction for a given frame.

void

set ( ddgVector3 *p, ddgVector3 *o, unsigned int frame )

Record a camera position.

void

add ( ddgVector3 *p, ddgVector3 *o )

Record a camera position.

bool

load ( void )

Load the path to a file.

bool

save ( void )

Save the path to a file.

unsigned int

frames (void)

Return the number of frames recorded.

These can be recorded and played back to/from a file. A path object is usually connected to a Context object which feeds it to the camara.