mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Remove now unnecessary factory class.
It was originally used for storing normals, but that functionality was removed.
This commit is contained in:
parent
1f902ff069
commit
14ae232938
4 changed files with 4 additions and 30 deletions
|
@ -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()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue