1 /*
2 Copyright (c) 2008-2009 NetAllied Systems GmbH
3 
4 This file is part of COLLADAFramework.
5 
6 Licensed under the MIT Open Source License,
7 for details please see LICENSE file or the website
8 http://www.opensource.org/licenses/mit-license.php
9 */
10 
11 #include "COLLADAFWStableHeaders.h"
12 #include "COLLADAFWTranslate.h"
13 
14 namespace COLLADAFW
15 {
16 
17 	//--------------------------------------------------------------------
Translate()18 	Translate::Translate()
19 		: Transformation(Transformation::TRANSLATE),
20 		mTranslationVector(COLLADABU::Math::Vector3::ZERO)
21 	{	}
22 
23 	//--------------------------------------------------------------------
Translate(const COLLADABU::Math::Vector3 & translationVector)24 	Translate::Translate( const COLLADABU::Math::Vector3& translationVector )
25 		: Transformation(Transformation::TRANSLATE),
26 		mTranslationVector(translationVector)
27 	{}
28 
29 	//--------------------------------------------------------------------
Translate(double x,double y,double z)30 	Translate::Translate( double x, double y, double z )
31 		: Transformation(Transformation::TRANSLATE),
32 		mTranslationVector(x, y, z)
33 	{}
34 
35 
36 	//--------------------------------------------------------------------
~Translate()37 	Translate::~Translate()
38 	{
39 	}
40 
41 } // namespace COLLADAFW
42