Return offset/angle by reference

pull/3236/head
Sam Hellawell 5 months ago
parent ecb5616b36
commit 4bd078a6db

@ -24,9 +24,9 @@ namespace MWRender
void setOffset(const osg::Vec3f& offset);
void setRotate(const osg::Quat& rotate);
const osg::Vec3f getOffset() const { return mOffset; }
const osg::Vec3f& getOffset() const { return mOffset; }
const osg::Quat getRotate() const { return mRotate; }
const osg::Quat& getRotate() const { return mRotate; }
osg::Node* getRelativeTo() const { return mRelativeTo; }

Loading…
Cancel
Save