Skip to content
Snippets Groups Projects
Commit 129ef047 authored by Akash Anand's avatar Akash Anand
Browse files

fm work

parent bb3b6808
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ static FProjectionFace *createProjectionFaceFromName(char *name) ...@@ -26,7 +26,7 @@ static FProjectionFace *createProjectionFaceFromName(char *name)
f = new FProjectionFace(GMODEL, tag, new PlaneProjectionSurface(tag)); f = new FProjectionFace(GMODEL, tag, new PlaneProjectionSurface(tag));
else if(!strcmp(name, "paraboloid")) else if(!strcmp(name, "paraboloid"))
f = new FProjectionFace(GMODEL, tag, new ParaboloidProjectionSurface(tag)); f = new FProjectionFace(GMODEL, tag, new ParaboloidProjectionSurface(tag));
else if(!strcmp(name, "Cylinder")) else if(!strcmp(name, "cylinder"))
f = new FProjectionFace(GMODEL, tag, new CylindricalProjectionSurface(tag)); f = new FProjectionFace(GMODEL, tag, new CylindricalProjectionSurface(tag));
else if(!strcmp(name, "revolvedParabola")) else if(!strcmp(name, "revolvedParabola"))
f = new FProjectionFace(GMODEL, tag, new RevolvedParabolaProjectionSurface(tag)); f = new FProjectionFace(GMODEL, tag, new RevolvedParabolaProjectionSurface(tag));
...@@ -790,7 +790,7 @@ void mesh_parameterize_cb(Fl_Widget* w, void* data) ...@@ -790,7 +790,7 @@ void mesh_parameterize_cb(Fl_Widget* w, void* data)
editor = new projectionEditor(); editor = new projectionEditor();
editor->load(createProjectionFaceFromName("plane")); editor->load(createProjectionFaceFromName("plane"));
editor->load(createProjectionFaceFromName("paraboloid")); editor->load(createProjectionFaceFromName("paraboloid"));
editor->load(createProjectionFaceFromName("Cylinder")); editor->load(createProjectionFaceFromName("cylinder"));
editor->load(createProjectionFaceFromName("revolvedParabola")); editor->load(createProjectionFaceFromName("revolvedParabola"));
} }
editor->show(); editor->show();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment