Fix build across all platforms.
This commit is contained in:
parent
f4a48905eb
commit
b44d3b19a8
|
@ -240,7 +240,7 @@ class FbxMaterialsAccess
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
FbxMaterialAccess(const FbxMesh *pMesh) :
|
FbxMaterialsAccess(const FbxMesh *pMesh, const std::map<const FbxTexture *, FbxString> &textureNames) :
|
||||||
mappingMode(FbxGeometryElement::eNone),
|
mappingMode(FbxGeometryElement::eNone),
|
||||||
mesh(nullptr),
|
mesh(nullptr),
|
||||||
indices(nullptr)
|
indices(nullptr)
|
||||||
|
@ -490,7 +490,7 @@ static void ReadMesh(RawModel &raw, FbxScene *pScene, FbxNode *pNode, const std:
|
||||||
const FbxLayerElementAccess<FbxVector2> uvLayer0(pMesh->GetElementUV(0), pMesh->GetElementUVCount());
|
const FbxLayerElementAccess<FbxVector2> uvLayer0(pMesh->GetElementUV(0), pMesh->GetElementUVCount());
|
||||||
const FbxLayerElementAccess<FbxVector2> uvLayer1(pMesh->GetElementUV(1), pMesh->GetElementUVCount());
|
const FbxLayerElementAccess<FbxVector2> uvLayer1(pMesh->GetElementUV(1), pMesh->GetElementUVCount());
|
||||||
const FbxSkinningAccess skinning(pMesh, pScene, pNode);
|
const FbxSkinningAccess skinning(pMesh, pScene, pNode);
|
||||||
const FbxMaterialsAccess materials(pMesh, textureNames);
|
const FbxMaterialsAccess materials(pMesh, textureNames);
|
||||||
|
|
||||||
if (verboseOutput) {
|
if (verboseOutput) {
|
||||||
fmt::printf(
|
fmt::printf(
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#define __RAWMODEL_H__
|
#define __RAWMODEL_H__
|
||||||
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
enum RawVertexAttribute
|
enum RawVertexAttribute
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue