mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:49:56 +00:00
12 lines
356 B
C++
12 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)
|
|
{
|
|
}
|
|
}
|