mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
13 lines
356 B
C++
13 lines
356 B
C++
|
#include "recastmesh.hpp"
|
||
|
#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)
|
||
|
{
|
||
|
}
|
||
|
}
|