#pragma once

#include "Mix/Tool/Win32/Core/Dynamics/Joint.h"

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

	class PointJoint : public Mix::Tool::Win32::Dynamics::Joint
	{
	public:
		enum PARAM_AXIS
		{
			PA_NONE	= -1,
		};

		enum PARAM_TYPE
		{
			PT_ERP	= 1,
			PT_CFM	= 3,
		};

		//パラメータの組み合わせ
		//
		//PT_ERP PA_NONE
		//PT_CFM PA_NONE

	public:
		virtual ~PointJoint( void ) {}

		virtual float GetSpring( void ) const = 0;
		virtual void SetSpring( float value ) = 0;

		virtual float GetDamper( void ) const = 0;
		virtual void SetDamper( float value ) = 0;

	public:
		MIX_OBJECT_TYPE( Mix::Tool::Win32::Object::DYNAMICS__POINT_JOINT, Mix::Tool::Win32::Dynamics::Joint )
	};

}}}}
