chiark / gitweb /
Compiles with libc6.
[moebius.git] / main.cc
diff --git a/main.cc b/main.cc
index 700719426255463c5ad67ebfada24e17ca8fec03..bbe9621e138e0e50ceb24606010b3663c515a0b5 100644 (file)
--- a/main.cc
+++ b/main.cc
@@ -21,8 +21,8 @@
 Parameter<int> tn("tn", "Number of sections around `strip'", 30, 1, 1, 500);
 Parameter<int> un("un", "Number of sections across `strip'", 15, 1, 1, 500);
 Parameter<double> theta("theta", "Angle of model rotation",
-                        /*-PI/2.*/0, PI/8., -PI*2., PI*2.);
-Parameter<double> eta("eta", "Angle of model elevation", 0., PI/8., -PI*2., PI*2.);
+                        /*-PI/2.*/0, M_PI/8., -M_PI*2., M_PI*2.);
+Parameter<double> eta("eta", "Angle of model elevation", 0., M_PI/8., -M_PI*2., M_PI*2.);
 Parameter<double> planedistance("plane", "Distance from projection plane to origin", 
                                 4., .25, 0., 100.);
 Parameter<double> eyedistance("eye", "Distance from projection eye to origin",