#include <stdio.h>
#include <stdlib.h>
#include <string.h>
{
int rc = EXIT_FAILURE;
if ( !pc )
{
goto fail_load;
}
MR_PassBy_Copy,
MR_PassBy_DefaultArgument, NULL );
if ( !mesh )
{
goto fail_triangulation;
}
)
{
}
{
goto fail_save;
}
rc = EXIT_SUCCESS;
fail_save:
fail_triangulation:
fail_load:
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
struct MR_SaveSettings MR_SaveSettings
struct MR_PointsLoadSettings MR_PointsLoadSettings
struct MR_expected_MR_PointCloud_std_string MR_expected_MR_PointCloud_std_string
struct MR_PointCloud MR_PointCloud
struct MR_VertColors MR_VertColors
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 const MR_VertCoords * MR_PointCloud_Get_points(const MR_PointCloud *_this)
MRC_API MR_VertCoords * MR_PointCloud_GetMutable_points(MR_PointCloud *_this)
MRC_API MR_PointsLoadSettings * MR_PointsLoadSettings_DefaultConstruct(void)
MRC_API void MR_PointsLoadSettings_Set_colors(MR_PointsLoadSettings *_this, MR_VertColors *value)
MRC_API void MR_PointsLoadSettings_Destroy(const MR_PointsLoadSettings *_this)
MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromAnySupportedFormat_2(const char *file, const char *file_end, const MR_PointsLoadSettings *settings)
MRC_API void MR_SaveSettings_Set_colors(MR_SaveSettings *_this, const MR_VertColors *value)
MRC_API void MR_SaveSettings_Destroy(const MR_SaveSettings *_this)
MRC_API MR_SaveSettings * MR_SaveSettings_DefaultConstruct(void)
MRC_API MR_expected_MR_Mesh_std_string * MR_terrainTriangulation(MR_PassBy points_pass_by, MR_std_vector_MR_Vector3f *points, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
MRC_API MR_std_vector_MR_Vector3f * MR_VertCoords_GetMutable_vec_(MR_VertCoords *_this)
MRC_API void MR_VertColors_Destroy(const MR_VertColors *_this)
MRC_API MR_VertColors * MR_VertColors_DefaultConstruct(void)
MRC_API const MR_std_vector_MR_Color * MR_VertColors_Get_vec_(const MR_VertColors *_this)
MRC_API const MR_std_vector_MR_Vector3f * MR_VertCoords_Get_vec_(const MR_VertCoords *_this)
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_MR_PointCloud_std_string_GetError(const MR_expected_MR_PointCloud_std_string *_this)
MRC_API MR_PointCloud * MR_expected_MR_PointCloud_std_string_GetMutableValue(MR_expected_MR_PointCloud_std_string *_this)
MRC_API void MR_expected_MR_PointCloud_std_string_Destroy(const MR_expected_MR_PointCloud_std_string *_this)
MRC_API const MR_std_string * MR_expected_void_std_string_GetError(const MR_expected_void_std_string *_this)
MRC_API void MR_expected_void_std_string_Destroy(const MR_expected_void_std_string *_this)
MRC_API const char * MR_std_string_Data(const MR_std_string *_this)
MRC_API size_t MR_std_vector_MR_Color_Size(const MR_std_vector_MR_Color *_this)
MRC_API size_t MR_std_vector_MR_Vector3f_Size(const MR_std_vector_MR_Vector3f *_this)