OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MWWorld::RotateCallback Class Reference

Rotates an osg::PositionAttitudeTransform over time. More...

Inheritance diagram for MWWorld::RotateCallback:
Collaboration diagram for MWWorld::RotateCallback:

Public Member Functions

 RotateCallback (const osg::Vec3f &axis=osg::Vec3f(0,-1, 0), float rotateSpeed=osg::PI *2)
 
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 

Private Attributes

osg::Vec3f mAxis
 
float mRotateSpeed
 

Detailed Description

Rotates an osg::PositionAttitudeTransform over time.

Constructor & Destructor Documentation

MWWorld::RotateCallback::RotateCallback ( const osg::Vec3f &  axis = osg::Vec3f(0,-1,0),
float  rotateSpeed = osg::PI*2 
)
inline

Member Function Documentation

virtual void MWWorld::RotateCallback::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
inlinevirtual

Member Data Documentation

osg::Vec3f MWWorld::RotateCallback::mAxis
private
float MWWorld::RotateCallback::mRotateSpeed
private

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