#ifndef OPENMW_COMPONENTS_PATHGRIDUTIL_H #define OPENMW_COMPONENTS_PATHGRIDUTIL_H #include #include namespace ESM { struct Pathgrid; } namespace SceneUtil { constexpr float DiamondHalfHeight = 40.f; constexpr float DiamondHalfWidth = 16.f; osg::ref_ptr createPathgridGeometry(const ESM::Pathgrid& pathgrid); osg::ref_ptr createPathgridSelectedWireframe( const ESM::Pathgrid& pathgrid, const std::vector& selected); unsigned short getPathgridNode(unsigned vertexIndex); } #endif