mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 06:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			568 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 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)
 | 
						|
    {
 | 
						|
    }
 | 
						|
}
 |