summaryrefslogtreecommitdiffstats
path: root/src/vanishing-point.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vanishing-point.h')
-rw-r--r--src/vanishing-point.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vanishing-point.h b/src/vanishing-point.h
index 7d53fa89d..428bb49ad 100644
--- a/src/vanishing-point.h
+++ b/src/vanishing-point.h
@@ -59,6 +59,8 @@ public:
(*this)[NR::Y] = pt[NR::Y]; }
inline void set_pos(const double pt_x, const double pt_y) { (*this)[NR::X] = pt_x;
(*this)[NR::Y] = pt_y; }
+ inline void set_infinite_direction (const NR::Point dir) { v_dir = dir; }
+ inline void set_infinite_direction (const double dir_x, const double dir_y) { v_dir = NR::Point (dir_x, dir_y); }
bool is_finite() const;
VPState toggle_parallel();