working on the frame controller, this might get messy
This commit is contained in:
@@ -42,3 +42,10 @@ void VrEventPublisher::notify_subscribers(std::unique_ptr<vr::Event> event) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void VrEventPublisher::dispatch_events() {
|
||||
while (event_queue.size() != 0) {
|
||||
notify_subscribers(std::move(event_queue.front()));
|
||||
event_queue.pop_front();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user