You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
568 B
C++
24 lines
568 B
C++
#include "matrixtransform.hpp"
|
|
|
|
namespace NifOsg
|
|
{
|
|
MatrixTransform::MatrixTransform()
|
|
: osg::MatrixTransform()
|
|
{
|
|
}
|
|
|
|
MatrixTransform::MatrixTransform(const Nif::Transformation &trafo)
|
|
: osg::MatrixTransform(trafo.toMatrix())
|
|
, mScale(trafo.scale)
|
|
, mRotationScale(trafo.rotation)
|
|
{
|
|
}
|
|
|
|
MatrixTransform::MatrixTransform(const MatrixTransform ©, const osg::CopyOp ©op)
|
|
: osg::MatrixTransform(copy, copyop)
|
|
, mScale(copy.mScale)
|
|
, mRotationScale(copy.mRotationScale)
|
|
{
|
|
}
|
|
}
|