Code

Filter effects dialog:
[inkscape.git] / src / vanishing-point.cpp
index 7933fbebadede27a1322425a7f79191025265072..7d5b24a86b0bf1bcf9a6b9d37bd6e4df4a378463 100644 (file)
@@ -12,7 +12,6 @@
  */
 
 #include "vanishing-point.h"
-#include <iostream>
 
 namespace Box3D {
 
@@ -63,7 +62,7 @@ VPState VanishingPoint::toggle_parallel()
     return this->state;
 }
 
-void VanishingPoint::draw(PerspDir const axis)
+void VanishingPoint::draw(Box3D::Axis const axis)
 {
     switch (axis) {
         case X:
@@ -84,6 +83,9 @@ void VanishingPoint::draw(PerspDir const axis)
             else
                 create_canvas_point(*this, 6.0, 0xffffff00);
             break;
+        default:
+            g_assert_not_reached();
+            break;
     }
 }