Added the support in AnimationPathCallback for taking a pivot, axis and rotation rate
paramters in its constructor to allow it to be used to create rotations around a point. This provides the same interface and functionality as osgUtil::TransformCallback but has the advantage and AnimationPathCallback is fully supported by the .osg and .ive file formats.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
namespace osgUtil
|
||||
{
|
||||
|
||||
/** TransformCallback is now deprecated, use osg::AnimationPathCallback instead.*/
|
||||
class OSGUTIL_EXPORT TransformCallback : public osg::NodeCallback
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user