1 #ifndef OPENMW_MWRENDER_ROTATECONTROLLER_H
2 #define OPENMW_MWRENDER_ROTATECONTROLLER_H
4 #include <osg/NodeCallback>
23 virtual void operator()(osg::Node* node, osg::NodeVisitor* nv);
osg::Quat getWorldOrientation(osg::Node *node)
Definition: rotatecontroller.cpp:44
Definition: rotatecontroller.hpp:14
void setEnabled(bool enabled)
Definition: rotatecontroller.cpp:15
RotateController(osg::Node *relativeTo)
Definition: rotatecontroller.cpp:8
osg::Node * mRelativeTo
Definition: rotatecontroller.hpp:30
osg::Quat mRotate
Definition: rotatecontroller.hpp:29
void setRotate(const osg::Quat &rotate)
Definition: rotatecontroller.cpp:20
bool mEnabled
Definition: rotatecontroller.hpp:28
virtual void operator()(osg::Node *node, osg::NodeVisitor *nv)
Definition: rotatecontroller.cpp:25