index 051a1d94acb6d2cbcf7d53f24138560aac27aa44..3e7d96fdd187fd28f6828b279de8b319472957e5 100644 (file)
--- a/src/perspective-line.cpp
+++ b/src/perspective-line.cpp
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;