Files
src-1.2/engine/server/library/serverGame/src/shared/region3d/RegionSphere.h
T
2014-01-15 03:59:18 -07:00

36 lines
929 B
C++

// ======================================================================
//
// RegionSphere.h
//
// Copyright 2003 Sony Online Entertainment
//
// ======================================================================
#ifndef INCLUDED_RegionSphere_H
#define INCLUDED_RegionSphere_H
// ======================================================================
#include "Region3d.h"
// ======================================================================
class RegionSphere: public Region3d
{
public:
RegionSphere(std::string const &name, Vector const &center, float radius, ScriptParams *regionScriptData);
virtual bool containsPoint(Vector const &point) const;
virtual float getVolume() const;
private:
RegionSphere();
RegionSphere(RegionSphere const &);
RegionSphere &operator=(RegionSphere const &);
};
// ======================================================================
#endif // INCLUDED_RegionSphere_H