#include <stdio.h>
#include <stdlib.h>
{
int rc = EXIT_FAILURE;
if ( !mesh )
{
goto fail;
}
{
goto fail;
}
rc = EXIT_SUCCESS;
fail:
return rc;
}
struct MR_expected_void_std_string MR_expected_void_std_string
struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
MRC_API void MR_DecimateSettings_Set_maxError(MR_DecimateSettings *_this, float value)
MRC_API const int * MR_DecimateResult_Get_facesDeleted(const MR_DecimateResult *_this)
MRC_API MR_DecimateSettings * MR_DecimateSettings_DefaultConstruct(void)
struct MR_DecimateResult MR_DecimateResult
MRC_API void MR_DecimateSettings_Set_subdivideParts(MR_DecimateSettings *_this, int value)
MRC_API void MR_DecimateSettings_Set_maxDeletedFaces(MR_DecimateSettings *_this, int value)
struct MR_DecimateSettings MR_DecimateSettings
MRC_API void MR_DecimateResult_Destroy(const MR_DecimateResult *_this)
MRC_API const int * MR_DecimateResult_Get_vertsDeleted(const MR_DecimateResult *_this)
MRC_API void MR_DecimateSettings_Destroy(const MR_DecimateSettings *_this)
MRC_API MR_DecimateResult * MR_decimateMesh(MR_Mesh *mesh, const MR_DecimateSettings *settings)
MRC_API MR_expected_MR_Mesh_std_string * MR_MeshLoad_fromAnySupportedFormat_2(const char *file, const char *file_end, const MR_MeshLoadSettings *settings)
MRC_API MR_expected_void_std_string * MR_MeshSave_toAnySupportedFormat_3(const MR_Mesh *mesh, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_Mesh * MR_expected_MR_Mesh_std_string_GetMutableValue(MR_expected_MR_Mesh_std_string *_this)
MRC_API const MR_std_string * MR_expected_MR_Mesh_std_string_GetError(const MR_expected_MR_Mesh_std_string *_this)
MRC_API void MR_expected_MR_Mesh_std_string_Destroy(const MR_expected_MR_Mesh_std_string *_this)
MRC_API const MR_std_string * MR_expected_void_std_string_GetError(const MR_expected_void_std_string *_this)
MRC_API const char * MR_std_string_Data(const MR_std_string *_this)
Source mesh