OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
osgAnimation::Vec3Packed Struct Reference

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

uint32_t osgAnimation::Vec3Packed::m32bits

Referenced by compress(), and uncompress().


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

osg logo
Generated at Tue Sep 4 2012 06:14:38 for the OpenSceneGraph by doxygen 1.8.1.2.