Match Tgl MeshImpl and GroupImpl functions (#1514)

This commit is contained in:
MS
2025-05-23 12:27:41 -04:00
committed by GitHub
parent eb1177b409
commit 4e49712391
4 changed files with 386 additions and 144 deletions

View File

@@ -45,16 +45,6 @@ Mesh* MeshBuilderImpl::CreateMesh(
return pMeshImpl;
}
inline Result MeshSetTextureMappingMode(MeshImpl::MeshData* pMesh, TextureMappingMode mode)
{
if (mode == PerspectiveCorrect) {
return ResultVal(pMesh->groupMesh->SetGroupMapping(pMesh->groupIndex, D3DRMMAP_PERSPCORRECT));
}
else {
return ResultVal(pMesh->groupMesh->SetGroupMapping(pMesh->groupIndex, 0));
}
}
inline Result CreateMesh(
IDirect3DRMMesh* pD3DRM,
unsigned long faceCount,