Debian Codegraph @

3rdparty/osgXR/src/XRUpdateOperation.cpp

raw symbols SCIP
1 // SPDX-License-Identifier: LGPL-2.1-only
2 // Copyright (C) 2022 James Hogan <[email protected]>
3
4 #include "XRUpdateOperation.h"
5
6 #include "XRState.h"
7
8 using namespace osgXR;
9
10 XRUpdateOperation::XRUpdateOperation(osg::ref_ptr<XRState> state) :
11 osg::Operation("XRUpdateOperation", true),
12 _state(state)
13 {
14 }
15
16 void XRUpdateOperation::operator () (osg::Object *obj)
17 {
18 _state->update();
19 }