Added an EventQueue directly into osgProducer::Viewer.

This commit is contained in:
Robert Osfield
2006-03-13 13:19:37 +00:00
parent 8229875432
commit 1a16d6d6b0
9 changed files with 49 additions and 24 deletions

View File

@@ -16,10 +16,11 @@
using namespace osgGA;
EventQueue::EventQueue()
EventQueue::EventQueue(GUIEventAdapter::MouseYOrientation mouseYOrientation)
{
_startTick = osg::Timer::instance()->tick();
_accumulateEventState = new GUIEventAdapter();
_accumulateEventState->setMouseYOrientation(mouseYOrientation);
}
EventQueue::~EventQueue()