summaryrefslogtreecommitdiffstats
path: root/hacks/glx/mirrorblob.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:23:46 +0200
committerSimon Rettberg2021-04-06 14:23:46 +0200
commit26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch)
treea51e1637554bcd84e63cccb1cb220c898a2c4ee8 /hacks/glx/mirrorblob.c
parent5.44 (diff)
downloadxscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz
xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip
xscreensaver 6.00
Diffstat (limited to 'hacks/glx/mirrorblob.c')
-rw-r--r--hacks/glx/mirrorblob.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/hacks/glx/mirrorblob.c b/hacks/glx/mirrorblob.c
index 42981bd..4e754bb 100644
--- a/hacks/glx/mirrorblob.c
+++ b/hacks/glx/mirrorblob.c
@@ -73,21 +73,10 @@
#define DEF_FADE_TIME "5.0"
#define DEF_ZOOM "1.0"
-#ifdef HAVE_XMU
-# ifndef VMS
-# include <X11/Xmu/Drawing.h>
-#else /* VMS */
-# include <Xmu/Drawing.h>
-# endif /* VMS */
-#endif
-
#include "gltrackball.h"
#include "grab-ximage.h"
-#undef countof
-#define countof(x) (sizeof((x)) / sizeof((*x)))
-
-#define PI 3.1415926535897
+#define PI M_PI
/* Options from command line */
static GLfloat blend;
@@ -169,7 +158,7 @@ static OptionStruct desc[] =
{"-resolution", "Resolution of blob tesselation"},
{"-bumps", "Number of bumps used to disturb blob"},
{"-motion_blur", "Fade blob images (higher number = faster fade)"},
- {"-fade_time", "Number of frames to transistion to next image"},
+ {"-fade_time", "Number of frames to transition to next image"},
{"-hold_time", "Number of frames before next image"},
};