mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 19:26:38 +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)
 | |
|     {
 | |
|     }
 | |
| }
 |