diff --git a/src/vanishing-point.h b/src/vanishing-point.h
index 4770c74f1b74e7d00ada0853c1bbf3a984482816..e6c106481f0063d625c8129a59245c5792a0dcee 100644 (file)
--- a/src/vanishing-point.h
+++ b/src/vanishing-point.h
#define SEEN_VANISHING_POINT_H
#include "libnr/nr-point.h"
-#include "line-geometry.h"
+#include "axis-manip.h"
+
+#include "line-geometry.h" // TODO: Remove this include as soon as we don't need create_canvas_(point|line) any more.
namespace Box3D {
VP_INFINITE // perspective lines are parallel
};
-enum PerspDir {
- X,
- Y,
- Z,
- NONE
-};
-
-// FIXME: Store the PerspDir of the VP inside the class
+// FIXME: Store the Axis of the VP inside the class
class VanishingPoint : public NR::Point {
public:
inline VanishingPoint() : NR::Point() {};
bool is_finite();
VPState toggle_parallel();
- void draw(PerspDir const axis); // Draws a point on the canvas if state == VP_FINITE
+ void draw(Box3D::Axis const axis); // Draws a point on the canvas if state == VP_FINITE
//inline VPState state() { return state; }
VPState state;