MeshLib C Docs
Loading...
Searching...
No Matches
MROffsetVerts.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>

Go to the source code of this file.

Typedefs

typedef struct MR_Mesh MR_Mesh
 
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float
 
typedef struct MR_std_function_float_from_MR_VertId MR_std_function_float_from_MR_VertId
 

Functions

MRC_API bool MR_offsetVerts (MR_Mesh *mesh, const MR_std_function_float_from_MR_VertId *offset, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
 

Typedef Documentation

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

◆ MR_std_function_bool_from_float

◆ MR_std_function_float_from_MR_VertId

Function Documentation

◆ MR_offsetVerts()

MRC_API bool MR_offsetVerts ( MR_Mesh * mesh,
const MR_std_function_float_from_MR_VertId * offset,
MR_PassBy cb_pass_by,
MR_std_function_bool_from_float * cb )

Modifies mesh shifting each vertex by the corresponding offset

Returns
false if cancelled. Generated from function MR::offsetVerts. Parameter mesh can not be null. It is a single object. Parameter offset can not be null. It is a single object.