X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fglx%2Fpolytopes.c;h=f4043dcaa78cef7e110f8025cc092082bb790a99;hb=3f438031d610c7e15fd33876a879b97e290e05fb;hp=77aaa451862871c80c771114c77ae80d3121588a;hpb=ffd8c0873576a9e3065696a624dce6b766b77062;p=xscreensaver diff --git a/hacks/glx/polytopes.c b/hacks/glx/polytopes.c index 77aaa451..f4043dca 100644 --- a/hacks/glx/polytopes.c +++ b/hacks/glx/polytopes.c @@ -119,19 +119,8 @@ static const char sccsid[] = "@(#)polytopes.c 1.1 03/05/18 xlockmore"; # define HACK_RESHAPE reshape_polytopes # define polytopes_opts xlockmore_opts # define DEFAULTS "*delay: 25000 \n" \ - "*showFPS: False \n" \ - "*wireframe: False \n" \ - "*displayMode: " DEF_DISPLAY_MODE " \n" \ - "*polytope: " DEF_POLYTOPE " \n" \ - "*colors: " DEF_COLORS " \n" \ - "*projection3d: " DEF_3D_PROJECTION " \n" \ - "*projection4d: " DEF_4D_PROJECTION " \n" \ - "speedwx: " DEF_DALPHA " \n" \ - "speedwy: " DEF_DBETA " \n" \ - "speedwz: " DEF_DDELTA " \n" \ - "speedxy: " DEF_DZETA " \n" \ - "speedxz: " DEF_DETA " \n" \ - "speedyz: " DEF_DTHETA " \n" + "*showFPS: False \n" + # include "xlockmore.h" /* from the xscreensaver distribution */ #else /* !STANDALONE */ # include "xlock.h" /* from the xlockmore distribution */ @@ -175,7 +164,7 @@ static const float offset3d[4] = { 0.0, 0.0, -2.0, 0.0 }; static XrmOptionDescRec opts[] = { - {"-mesh", ".polytopes.displayMode", XrmoptionNoArg, + {"-wireframe", ".polytopes.displayMode", XrmoptionNoArg, DISP_WIREFRAME_STR }, {"-surface", ".polytopes.displayMode", XrmoptionNoArg, DISP_SURFACE_STR }, @@ -232,7 +221,7 @@ static argtype vars[] = static OptionStruct desc[] = { - { "-mesh", "display the polytope as a wireframe mesh" }, + { "-wireframe", "display the polytope as a wireframe mesh" }, { "-surface", "display the polytope as a solid surface" }, { "-transparent", "display the polytope as a transparent surface" }, { "-solid", "display the polytope as a solid object" },