1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-08 09:37:53 +00:00
OpenMW/components/detournavigator/recastmesh.cpp

14 lines
385 B
C++
Raw Normal View History

2018-03-13 22:49:08 +00:00
#include "recastmesh.hpp"
#include "chunkytrimesh.hpp"
2018-03-13 22:49:08 +00:00
#include "settings.hpp"
namespace DetourNavigator
{
RecastMesh::RecastMesh(std::vector<int> indices, std::vector<float> vertices, const Settings& settings)
: mIndices(std::move(indices))
, mVertices(std::move(vertices))
, mChunkyTriMesh(mVertices, mIndices, settings.mTrianglesPerChunk)
{
}
}