mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 15:45:37 +00:00
Fix NifOsg::MatrixTransform constructor inheritance
This commit is contained in:
parent
cc791af0f5
commit
ad87289d59
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
namespace NifOsg
|
namespace NifOsg
|
||||||
{
|
{
|
||||||
|
MatrixTransform::MatrixTransform()
|
||||||
|
: osg::MatrixTransform()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
MatrixTransform::MatrixTransform(int recordIndex, const Nif::Transformation &trafo)
|
MatrixTransform::MatrixTransform(int recordIndex, const Nif::Transformation &trafo)
|
||||||
: osg::MatrixTransform(trafo.toMatrix())
|
: osg::MatrixTransform(trafo.toMatrix())
|
||||||
, mIndex(recordIndex)
|
, mIndex(recordIndex)
|
||||||
|
@ -11,7 +11,7 @@ namespace NifOsg
|
|||||||
class MatrixTransform : public osg::MatrixTransform
|
class MatrixTransform : public osg::MatrixTransform
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using osg::MatrixTransform::MatrixTransform;
|
MatrixTransform();
|
||||||
MatrixTransform(int recordIndex, const Nif::Transformation &trafo);
|
MatrixTransform(int recordIndex, const Nif::Transformation &trafo);
|
||||||
MatrixTransform(const MatrixTransform ©, const osg::CopyOp ©op);
|
MatrixTransform(const MatrixTransform ©, const osg::CopyOp ©op);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user