diff --git a/Plugin/CutSphere.cpp b/Plugin/CutSphere.cpp index 9328c78e51a6dbc2560df3e2f8235d02f66f834c..1ce5f943a3a0fe827a927910a0012455d9105bc9 100644 --- a/Plugin/CutSphere.cpp +++ b/Plugin/CutSphere.cpp @@ -65,7 +65,7 @@ double GMSH_CutSpherePlugin::callback(int num, int action, double value, double double GMSH_CutSpherePlugin::callbackX(int num, int action, double value) { return callback(num, action, value, &CutSphereOptions_Number[0].def, - CTX::instance()->lc / 100., - 2 * CTX::instance()->lc, + CTX::instance()->lc / 100., - 2 * CTX::instance()->lc, 2 * CTX::instance()->lc); } @@ -79,7 +79,7 @@ double GMSH_CutSpherePlugin::callbackY(int num, int action, double value) double GMSH_CutSpherePlugin::callbackZ(int num, int action, double value) { return callback(num, action, value, &CutSphereOptions_Number[2].def, - CTX::instance()->lc / 100., -2 * CTX::instance()->lc, + CTX::instance()->lc / 100., -2 * CTX::instance()->lc, 2 * CTX::instance()->lc); } diff --git a/Plugin/Plugin.h b/Plugin/Plugin.h index a42346f744557851c0e524c8715314d7ba6b304b..befcb65c15bd31a223ebb894add4c3afcd90fafd 100644 --- a/Plugin/Plugin.h +++ b/Plugin/Plugin.h @@ -28,10 +28,10 @@ class GMSH_Plugin public : // 4 kinds of plugins typedef enum { - GMSH_CAD_PLUGIN, - GMSH_MESH_PLUGIN, - GMSH_POST_PLUGIN, - GMSH_SOLVER_PLUGIN + GMSH_CAD_PLUGIN, + GMSH_MESH_PLUGIN, + GMSH_POST_PLUGIN, + GMSH_SOLVER_PLUGIN } GMSH_PLUGIN_TYPE; // a dialog box for the user interface @@ -118,7 +118,7 @@ class GMSH_SolverPlugin : public GMSH_Plugin virtual void receiveNewPhysicalGroup(int dim, int id) = 0; // load the solver input file related to the gmsh geo file virtual void readSolverFile(const char *) = 0; - // save the solver file + // save the solver file virtual void writeSolverFile(const char *) const = 0; // enhance graphics for a giver geo point virtual bool GL_enhancePoint(Vertex *v) { return false; }