SPIN Framework
Functions

Vector and Matrix Data Conversion Utilities

Convenience functions for converting between OSG's and Bullet's vector and matrix classes. More...

Functions

osg::Matrix spin::asOsgMatrix (const btTransform &t)
btTransform spin::asBtTransform (const osg::Matrix &m)
osg::Matrix spin::asOsgMatrix (const btMatrix3x3 &m)
btMatrix3x3 spin::asBtMatrix3x3 (const osg::Matrix &m)
osg::Vec3 spin::asOsgVec3 (const btVector3 &v)
btVector3 spin::asBtVector3 (const osg::Vec3 &v)
osg::Vec4 spin::asOsgVec4 (const btVector3 &v, const double w)
osg::Vec4 spin::asOsgVec4 (const btVector4 &v)
osg::Quat spin::asOsgQuat (const btQuaternion &q)
btQuaternion spin::asBtQuaternion (const osg::Quat &q)
btVector4 spin::asBtVector4 (const osg::Vec4 &v)

Detailed Description

Convenience functions for converting between OSG's and Bullet's vector and matrix classes.