Remove now unnecessary factory class.

It was originally used for storing normals, but that functionality
was removed.
This commit is contained in:
Aesylwinn 2016-05-03 16:11:39 -04:00
parent 1f902ff069
commit 14ae232938
4 changed files with 4 additions and 30 deletions

View file

@ -56,7 +56,7 @@ namespace SceneUtil
const osg::Vec4f DiamondEdgeColor = osg::Vec4f(0.5f, 1.f, 1.f, 1.f);
osg::ref_ptr<osg::Geometry> PathgridGeometryFactory::create(const ESM::Pathgrid& pathgrid)
osg::ref_ptr<osg::Geometry> createPathgridGeometry(const ESM::Pathgrid& pathgrid)
{
const unsigned short PointCount = static_cast<unsigned short>(pathgrid.mPoints.size());
const size_t EdgeCount = pathgrid.mEdges.size();
@ -155,14 +155,4 @@ namespace SceneUtil
return gridGeometry;
}
PathgridGeometryFactory& PathgridGeometryFactory::get()
{
static PathgridGeometryFactory instance;
return instance;
}
PathgridGeometryFactory::PathgridGeometryFactory()
{
}
}