diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-05-09 02:11:05 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-05-09 02:11:05 +0400 |
commit | 56342f222f60cffbc636b01407079bfa1d2fb2da (patch) | |
tree | 215ab2c523c388ad18f1582a81cf7ec6c01670f4 /intern/dualcon/dualcon.h | |
parent | d9ce1cda94c256326d09efa69b55682bde98ea8b (diff) |
Code style cleanup in intern/dualcon.
Diffstat (limited to 'intern/dualcon/dualcon.h')
-rw-r--r-- | intern/dualcon/dualcon.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/intern/dualcon/dualcon.h b/intern/dualcon/dualcon.h index 53135a7dcc1..1c3d31b6625 100644 --- a/intern/dualcon/dualcon.h +++ b/intern/dualcon/dualcon.h @@ -24,7 +24,7 @@ #define __DUALCON_H__ #ifdef __cplusplus -extern "C" { +extern "C" { #endif typedef float (*DualConCo)[3]; @@ -35,11 +35,11 @@ typedef struct DualConInput { DualConCo co; int co_stride; int totco; - + DualConFaces faces; int face_stride; int totface; - + float min[3], max[3]; } DualConInput; @@ -64,32 +64,32 @@ typedef enum { } DualConMode; /* Usage: - - The three callback arguments are used for creating the output - mesh. The alloc_output callback takes the total number of vertices - and faces (quads) that will be in the output. It should allocate - and return a structure to hold the output mesh. The add_vert and - add_quad callbacks will then be called for each new vertex and - quad, and the callback should add the new mesh elements to the - structure. -*/ + * + * The three callback arguments are used for creating the output + * mesh. The alloc_output callback takes the total number of vertices + * and faces (quads) that will be in the output. It should allocate + * and return a structure to hold the output mesh. The add_vert and + * add_quad callbacks will then be called for each new vertex and + * quad, and the callback should add the new mesh elements to the + * structure. + */ void *dualcon(const DualConInput *input_mesh, - /* callbacks for output */ - DualConAllocOutput alloc_output, - DualConAddVert add_vert, - DualConAddQuad add_quad, + /* callbacks for output */ + DualConAllocOutput alloc_output, + DualConAddVert add_vert, + DualConAddQuad add_quad, - /* flags and settings to control the remeshing - algorithm */ - DualConFlags flags, - DualConMode mode, - float threshold, - float hermite_num, - float scale, - int depth); + /* flags and settings to control the remeshing + * algorithm */ + DualConFlags flags, + DualConMode mode, + float threshold, + float hermite_num, + float scale, + int depth); #ifdef __cplusplus -} +} #endif #endif /* __DUALCON_H__ */ |