/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2009.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: sgx/include/domains/graphics/primitives/sphere.hpp

*/

#ifndef SGX_DOMAIN_GRAPHICS_PRIMITIVES_SPHERE_HPP
#define SGX_DOMAIN_GRAPHICS_PRIMITIVES_SPHERE_HPP	1

class sgxPrimitiveSphere : public sgxPrimitiveBase
{
public:
	tREAL32		m_fRadius;

	sgxPrimitiveSphere() : m_fRadius(1) {}
	sgxPrimitiveSphere(tREAL32 r) : m_fRadius(r) {}

	virtual void	getBoundingSphere(sgxVector3 &pos, tREAL32 &radius) const ;
	virtual void	getBoundingBox(sgxVector3 &minpos, sgxVector3 &maxpos) const ;
};


#endif /* SGX_DOMAIN_GRAPHICS_PRIMITIVES_SPHERE_HPP */
