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