1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/components/sceneutil/pathgridutil.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
590 B
C++
Raw Normal View History

2016-05-03 02:09:48 +00:00
#ifndef OPENMW_COMPONENTS_PATHGRIDUTIL_H
#define OPENMW_COMPONENTS_PATHGRIDUTIL_H
#include <osg/Geometry>
#include <osg/ref_ptr>
namespace ESM
{
2016-05-10 15:36:25 +00:00
struct Pathgrid;
2016-05-03 02:09:48 +00:00
}
namespace SceneUtil
{
2016-05-18 16:17:26 +00:00
const float DiamondHalfHeight = 40.f;
const float DiamondHalfWidth = 16.f;
osg::ref_ptr<osg::Geometry> createPathgridGeometry(const ESM::Pathgrid& pathgrid);
osg::ref_ptr<osg::Geometry> createPathgridSelectedWireframe(
const ESM::Pathgrid& pathgrid, const std::vector<unsigned short>& selected);
unsigned short getPathgridNode(unsigned short vertexIndex);
2016-05-03 02:09:48 +00:00
}
#endif