OpenMW
|
#include <rotatecontroller.hpp>
Public Member Functions | |
RotateController (osg::Node *relativeTo) | |
void | setEnabled (bool enabled) |
void | setRotate (const osg::Quat &rotate) |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Protected Member Functions | |
osg::Quat | getWorldOrientation (osg::Node *node) |
Protected Attributes | |
bool | mEnabled |
osg::Quat | mRotate |
osg::Node * | mRelativeTo |
Applies a rotation in relativeTo's space.
MWRender::RotateController::RotateController | ( | osg::Node * | relativeTo | ) |
|
protected |
|
virtual |
void MWRender::RotateController::setEnabled | ( | bool | enabled | ) |
void MWRender::RotateController::setRotate | ( | const osg::Quat & | rotate | ) |
|
protected |
|
protected |
|
protected |