#include <MRMeshC/MRMesh.h>
#include <MRMeshC/MRMakeSphereMesh.h>
#include <MRMeshC/MRVector3.h>
#include <MRMeshC/MRAffineXf.h>
#include <MRMeshC/MRMeshBoolean.h>
#include <MRMeshC/MRMeshSave.h>
#include <MRMeshC/MRString.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main( int argc, char* argv[] )
{
int rc = EXIT_FAILURE;
{
goto out;
}
if ( errorString )
{
fprintf( stderr,
"Failed to save result: %s",
mrStringData( errorString ) );
goto out_result;
}
rc = EXIT_SUCCESS;
out_result:
out:
return rc;
}
MRMESHC_API MRAffineXf3f mrAffineXf3fTranslation(const MRVector3f *b)
MRMESHC_API MRMakeUVSphereParameters mrMakeUvSphereParametersNew(void)
MRMESHC_API MRMesh * mrMakeUVSphere(const MRMakeUVSphereParameters *params)
MRMESHC_API MRBooleanParameters mrBooleanParametersNew(void)
MRMESHC_API MRBooleanResult mrBoolean(const MRMesh *meshA, const MRMesh *meshB, MRBooleanOperation operation, const MRBooleanParameters *params)
typedefMR_EXTERN_C_BEGIN struct MRString MRString
MRMESHC_API void mrMeshTransform(MRMesh *mesh, const MRAffineXf3f *xf, const MRVertBitSet *region)
MR_EXTERN_C_BEGIN MRMESHC_API MRMesh * mrMeshCopy(const MRMesh *mesh)
MRMESHC_API void mrMeshFree(MRMesh *mesh)
MRMESHC_API MRSaveSettings mrSaveSettingsNew(void)
MRMESHC_API void mrStringFree(MRString *str)
MR_EXTERN_C_BEGIN MRMESHC_API const char * mrStringData(const MRString *str)
MRMESHC_API MRVector3f mrVector3fDiagonal(float a)
MRMESHC_API void mrMeshSaveToAnySupportedFormat(const MRMesh *mesh, const char *file, MRString **errorStr)
Source meshes