Delete obsolete snippets.
This commit is contained in:
parent
bf28c29f50
commit
bc803213fc
|
@ -536,7 +536,6 @@ static void ReadMesh(RawModel &raw, FbxScene *pScene, FbxNode *pNode, const std:
|
||||||
rawSurface.jointGeometryMaxs.emplace_back(-FLT_MAX, -FLT_MAX, -FLT_MAX);
|
rawSurface.jointGeometryMaxs.emplace_back(-FLT_MAX, -FLT_MAX, -FLT_MAX);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::set<std::string> collectedWarnings;
|
|
||||||
int polygonVertexIndex = 0;
|
int polygonVertexIndex = 0;
|
||||||
|
|
||||||
for (int polygonIndex = 0; polygonIndex < pMesh->GetPolygonCount(); polygonIndex++) {
|
for (int polygonIndex = 0; polygonIndex < pMesh->GetPolygonCount(); polygonIndex++) {
|
||||||
|
@ -691,9 +690,6 @@ static void ReadMesh(RawModel &raw, FbxScene *pScene, FbxNode *pNode, const std:
|
||||||
|
|
||||||
raw.AddTriangle(rawVertexIndices[0], rawVertexIndices[1], rawVertexIndices[2], rawMaterialIndex, rawSurfaceIndex);
|
raw.AddTriangle(rawVertexIndices[0], rawVertexIndices[1], rawVertexIndices[2], rawMaterialIndex, rawSurfaceIndex);
|
||||||
}
|
}
|
||||||
for (const auto &warning : collectedWarnings) {
|
|
||||||
fmt::fprintf(stderr, "%s\n", warning);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ReadCamera(RawModel &raw, FbxScene *pScene, FbxNode *pNode)
|
static void ReadCamera(RawModel &raw, FbxScene *pScene, FbxNode *pNode)
|
||||||
|
|
Loading…
Reference in New Issue