summaryrefslogtreecommitdiffstats
path: root/src/perspective-line.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/perspective-line.cpp')
-rw-r--r--src/perspective-line.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perspective-line.cpp b/src/perspective-line.cpp
index 051a1d94a..3e7d96fdd 100644
--- a/src/perspective-line.cpp
+++ b/src/perspective-line.cpp
@@ -16,14 +16,14 @@
namespace Box3D {
-PerspectiveLine::PerspectiveLine (NR::Point const &pt, Proj::Axis const axis, Persp3D *persp) :
+PerspectiveLine::PerspectiveLine (Geom::Point const &pt, Proj::Axis const axis, Persp3D *persp) :
Line (pt, persp3d_get_VP(persp, axis).affine(), true)
{
g_assert (persp != NULL);
if (!persp3d_get_VP(persp, axis).is_finite()) {
Proj::Pt2 vp(persp3d_get_VP(persp, axis));
- this->set_direction(NR::Point(vp[Proj::X], vp[Proj::Y]));
+ this->set_direction(Geom::Point(vp[Proj::X], vp[Proj::Y]));
}
this->vp_dir = axis;
this->persp = persp;