mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
fix: linux build
This commit is contained in:
parent
46111ae106
commit
36ddb998a4
@ -501,7 +501,7 @@ namespace
|
||||
const auto rigidBoneIndexForTri = GetRigidBoneIndicesForTris(vertexIndices, surface, common);
|
||||
|
||||
std::vector<size_t> triSortList(surface.triCount);
|
||||
std::ranges::iota(triSortList, 0);
|
||||
std::iota(triSortList.begin(), triSortList.end(), 0);
|
||||
|
||||
std::ranges::sort(triSortList,
|
||||
[&rigidBoneIndexForTri](const size_t triIndex0, const size_t triIndex1)
|
||||
@ -593,7 +593,7 @@ namespace
|
||||
|
||||
const auto vertexCount = vertexIndices.size();
|
||||
std::vector<size_t> reorderLookup(vertexCount);
|
||||
std::ranges::iota(reorderLookup, 0);
|
||||
std::iota(reorderLookup.begin(), reorderLookup.end(), 0);
|
||||
|
||||
std::ranges::sort(reorderLookup,
|
||||
[&common, &vertexIndices](const size_t& i0, const size_t& i1)
|
||||
|
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
||||
namespace tangent_space
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user