#pragma once

#include "LinearMath/btTransform.h"

namespace Mix{ namespace Tool{ namespace Win32{ namespace Dynamics{

	static D3DXVECTOR3 ToD3DXVector( const btVector3& v )
	{
		return D3DXVECTOR3( v.x(), v.y(), v.z() );
	}

	static btVector3 ToBulletVector( const D3DXVECTOR3& v )
	{
		return btVector3( btScalar( v.x ), btScalar( v.y ), btScalar( v.z ) );
	}

}}}}
