sio2_frame.cc File Reference

#include "sio2.h"

Include dependency graph for sio2_frame.cc:


Functions

SIO2framesio2FrameInit (unsigned int _frame, unsigned int _size, vec3 *_dim)
SIO2framesio2FrameFree (SIO2frame *_SIO2frame)

Function Documentation

SIO2frame* sio2FrameFree ( SIO2frame _SIO2frame  ) 

Free a previously initialized SIO2frame.

_SIO2frame: The SIO2frame to be freed from memory.

return a NULL SIO2frame pointer.

References SIO2frame::buf.

Referenced by sio2ActionFree().

SIO2frame* sio2FrameInit ( unsigned int  _frame,
unsigned int  _size,
vec3 _dim 
)

Create a new SIO2frame, this frame will be associated to the current sio2 SIO2action.

_frame: The frame number. _size: The size in bytes of the current frame buffer. _dim: The dimXYZ of the bounding box for this frame.

return a new SIO2frame structure pointer.

References SIO2frame::buf, SIO2frame::dim, SIO2frame::frame, vec3::x, vec3::y, and vec3::z.

Referenced by sio2ActionLoad().


Generated on Thu Mar 4 15:41:43 2010 for SIO2 Engine by  doxygen 1.5.6