1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-24 02:53:52 +00:00
openmw-tes3mp/components/detournavigator/navmeshcacheitem.hpp

22 lines
511 B
C++
Raw Normal View History

#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHCACHEITEM_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_NAVMESHCACHEITEM_H
#include "sharednavmesh.hpp"
#include <atomic>
namespace DetourNavigator
{
struct NavMeshCacheItem
{
SharedNavMesh mValue;
std::size_t mGeneration;
std::atomic_size_t mNavMeshRevision;
2018-04-15 22:07:18 +00:00
NavMeshCacheItem(const NavMeshPtr& value, std::size_t generation)
: mValue(value), mGeneration(generation), mNavMeshRevision(0) {}
};
}
#endif