summaryrefslogtreecommitdiffstats
path: root/src/perspective-line.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-08-06 00:07:25 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-08-06 00:07:25 +0000
commitea6e0e4d2cd55a2b851a8504a68afff34fc6a683 (patch)
treea5529ebcf86551413491b721ab9328d08c6ad1df /src/perspective-line.h
parentFilter effects dialog: (diff)
downloadinkscape-ea6e0e4d2cd55a2b851a8504a68afff34fc6a683.tar.gz
inkscape-ea6e0e4d2cd55a2b851a8504a68afff34fc6a683.zip
Store a global list of existing perspectives; for each perspective hold a list of associated boxes; explicitly pass perspectives as arguments when creating PLs
(bzr r3380)
Diffstat (limited to 'src/perspective-line.h')
-rw-r--r--src/perspective-line.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/perspective-line.h b/src/perspective-line.h
index a02737692..8f218803b 100644
--- a/src/perspective-line.h
+++ b/src/perspective-line.h
@@ -27,8 +27,7 @@ public:
* PL runs through it; otherwise it has the direction specified by the v_dir vector
* of the VP.
*/
- PerspectiveLine (NR::Point const &pt, Box3D::Axis const axis,
- Perspective3D *perspective = SP3DBoxContext::current_perspective);
+ PerspectiveLine (NR::Point const &pt, Box3D::Axis const axis, Perspective3D *perspective);
NR::Maybe<NR::Point> intersect (Line const &line); // FIXME: Can we make this return only a NR::Point to remove the extra method meet()?
NR::Point meet (Line const &line);