#pragma once

namespace Mix{ namespace Tool{ namespace Win32{ namespace Geometry{

	//AABB構造体
	struct AABB
	{
		D3DXVECTOR3 min;
		D3DXVECTOR3 max;
	};

	//カプセル構造体
	struct CAPSULE
	{
		enum AXIS_TYPE
		{
			AXIS_X	= 0,
			AXIS_Y	= 1,
			AXIS_Z	= 2,
		};

		CAPSULE::AXIS_TYPE axisType;
		D3DXVECTOR3 pos;
		float halfLen;
		float radius;
	};

	//OBB構造体
	struct OBB
	{
		D3DXVECTOR3 pos;
		D3DXVECTOR3 axis[3];
		D3DXVECTOR3 len;
	};

	//SPHERE構造体
	struct SPHERE
	{
		D3DXVECTOR3 pos;
		float radius;
	};

}}}}
