osgAnimation::Vec3Packed Struct Reference

List of all members.

Public Types

typedef unsigned int uint32_t

Public Member Functions

 Vec3Packed (uint32_t val)
 Vec3Packed ()
void uncompress (const osg::Vec3 &scale, const osg::Vec3 &min, osg::Vec3 &result) const
void compress (const osg::Vec3f &src, const osg::Vec3f &min, const osg::Vec3f &scaleInv)

Public Attributes

uint32_t m32bits


Member Typedef Documentation

typedef unsigned int osgAnimation::Vec3Packed::uint32_t


Constructor & Destructor Documentation

osgAnimation::Vec3Packed::Vec3Packed ( uint32_t  val  )  [inline]

osgAnimation::Vec3Packed::Vec3Packed (  )  [inline]


Member Function Documentation

void osgAnimation::Vec3Packed::compress ( const osg::Vec3f src,
const osg::Vec3f min,
const osg::Vec3f scaleInv 
) [inline]

References m32bits, and osg::minimum().

void osgAnimation::Vec3Packed::uncompress ( const osg::Vec3 scale,
const osg::Vec3 min,
osg::Vec3 result 
) const [inline]

References m32bits.


Member Data Documentation

Referenced by compress(), and uncompress().


The documentation for this struct was generated from the following file:

osg logo
Generated at Mon Feb 23 17:55:31 2009 for the OpenSceneGraph by doxygen 1.5.8.