1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-28 19:15:32 +00:00
openmw-tes3mp/components/sceneutil/pathgridutil.hpp
2016-05-03 03:29:07 -04:00

32 lines
636 B
C++

#ifndef OPENMW_COMPONENTS_PATHGRIDUTIL_H
#define OPENMW_COMPONENTS_PATHGRIDUTIL_H
#include <osg/ref_ptr>
#include <osg/Geometry>
namespace ESM
{
class Pathgrid;
}
namespace SceneUtil
{
class PathgridGeometryFactory
{
public:
osg::ref_ptr<osg::Geometry> create(const ESM::Pathgrid& pathgrid);
static PathgridGeometryFactory& get();
private:
PathgridGeometryFactory();
// Not implemented
PathgridGeometryFactory(const PathgridGeometryFactory&);
PathgridGeometryFactory& operator=(const PathgridGeometryFactory&);
};
}
#endif