Public Member Functions | |
GeomRotateVisitor (const osg::Quat &quat, const osg::Vec3 ¢er) | |
virtual void | apply (Physics::Geom &geom) |
Protected Attributes | |
const osg::Quat & | quat |
const osg::Vec3 & | center |
Definition at line 734 of file 3DPhy.cpp.
GeomRotateVisitor::GeomRotateVisitor | ( | const osg::Quat & | quat, | |
const osg::Vec3 & | center | |||
) | [inline] |
virtual void GeomRotateVisitor::apply | ( | Physics::Geom & | geom | ) | [inline, virtual] |
Reimplemented from Physics::Visitor.
Definition at line 737 of file 3DPhy.cpp.
References center, quat, Physics::Geom::rotate(), and Physics::Visitor::traverse().
const osg::Vec3& GeomRotateVisitor::center [protected] |
const osg::Quat& GeomRotateVisitor::quat [protected] |