//
// NhSphere.h
//
// 球テンプレートクラスサンプル
// 
// Written by Nobuki HIRAMINE
// Last modified : 2005/09/10
//
#ifndef	_NHSPHERE_H
#define	_NHSPHERE_H

#include "NhVector3.h"

template <class T> class TNhSphere
{
public:
	TNhVector3<T>	m_pointCenter;	// 中心点
	T				m_radius;			// 半径

	// コンストラクタ
	// デフォルト
	TNhPlane() : m_radius(0)
	{}
	// 初期化
	TNhPlane( const TNhVector3<T> pointCenter, const T radius ) : m_pointCenter(pointCenter), m_radius(radius)
	{}
};

typedef TNhSphere<double>	CNhSphered;
typedef TNhSphere<float>	CNhSpheref;

#endif	/*_NHSPHERE_H*/

