mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 02:09:41 +00:00
Fix NifOsg::MatrixTransform constructor inheritance
This commit is contained in:
parent
cc791af0f5
commit
ad87289d59
2 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
namespace NifOsg
|
||||
{
|
||||
MatrixTransform::MatrixTransform()
|
||||
: osg::MatrixTransform()
|
||||
{
|
||||
}
|
||||
|
||||
MatrixTransform::MatrixTransform(int recordIndex, const Nif::Transformation &trafo)
|
||||
: osg::MatrixTransform(trafo.toMatrix())
|
||||
, mIndex(recordIndex)
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace NifOsg
|
|||
class MatrixTransform : public osg::MatrixTransform
|
||||
{
|
||||
public:
|
||||
using osg::MatrixTransform::MatrixTransform;
|
||||
MatrixTransform();
|
||||
MatrixTransform(int recordIndex, const Nif::Transformation &trafo);
|
||||
MatrixTransform(const MatrixTransform ©, const osg::CopyOp ©op);
|
||||
|
||||
|
|
Loading…
Reference in a new issue