summaryrefslogtreecommitdiffstats
path: root/src/perspective3d.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-07-03 18:38:27 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-07-03 18:38:27 +0000
commit91ec7fdec97678b9b403f5e6a823bb2062c43a41 (patch)
tree260db20d7e9b4aeef731058007d04b8222a82f73 /src/perspective3d.h
parentMake 3D axes correspond to places in binary representation (allows for more g... (diff)
downloadinkscape-91ec7fdec97678b9b403f5e6a823bb2062c43a41.tar.gz
inkscape-91ec7fdec97678b9b403f5e6a823bb2062c43a41.zip
More meaningful name for 3D axis directions
(bzr r3169)
Diffstat (limited to 'src/perspective3d.h')
-rw-r--r--src/perspective3d.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/perspective3d.h b/src/perspective3d.h
index 9f033f80d..007b02df1 100644
--- a/src/perspective3d.h
+++ b/src/perspective3d.h
@@ -16,8 +16,8 @@
namespace Box3D {
-NR::Point perspective_intersection (NR::Point pt1, Box3D::PerspDir dir1, NR::Point pt2, Box3D::PerspDir dir2);
-NR::Point perspective_line_snap (NR::Point pt, PerspDir dir, NR::Point ext_pt);
+NR::Point perspective_intersection (NR::Point pt1, Box3D::Axis dir1, NR::Point pt2, Box3D::Axis dir2);
+NR::Point perspective_line_snap (NR::Point pt, Box3D::Axis dir, NR::Point ext_pt);
class PerspectiveLine;
@@ -25,8 +25,8 @@ class Perspective3D {
public:
Perspective3D(VanishingPoint const &pt_x, VanishingPoint const &pt_y, VanishingPoint const &pt_z);
- VanishingPoint *get_vanishing_point (PerspDir const dir);
- void set_vanishing_point (PerspDir const dir, VanishingPoint const &pt);
+ VanishingPoint *get_vanishing_point (Box3D::Axis const dir);
+ void set_vanishing_point (Box3D::Axis const dir, VanishingPoint const &pt);
private:
VanishingPoint vp_x;