diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-09-18 17:43:41 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-09-18 17:43:41 +0000 |
| commit | 4feb015def0a7d59a390c6d4e8c24d6d26c70168 (patch) | |
| tree | 97e9a78fc9af335a599d44a73beeadd2eb74556c /src/perspective-line.cpp | |
| parent | More NR ==> Geom conversion (points and some matrices/transforms) (diff) | |
| download | inkscape-4feb015def0a7d59a390c6d4e8c24d6d26c70168.tar.gz inkscape-4feb015def0a7d59a390c6d4e8c24d6d26c70168.zip | |
More NR::Point ==> Geom::Point
(bzr r6837)
Diffstat (limited to 'src/perspective-line.cpp')
| -rw-r--r-- | src/perspective-line.cpp | 4 |
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; |
