summaryrefslogtreecommitdiffstats
path: root/src/vanishing-point.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-07-10 13:50:59 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-07-10 13:50:59 +0000
commitf909ac125ab0fcdaeff4f508b416bd7b6bee77ca (patch)
tree56ac240affb4c9cfa008c9cf05efdaf34eab2a74 /src/vanishing-point.cpp
parentClick-select entire 3D boxes instead of only single faces; faces can still be... (diff)
downloadinkscape-f909ac125ab0fcdaeff4f508b416bd7b6bee77ca.tar.gz
inkscape-f909ac125ab0fcdaeff4f508b416bd7b6bee77ca.zip
More 3D auxiliary/convenience functions
(bzr r3211)
Diffstat (limited to 'src/vanishing-point.cpp')
-rw-r--r--src/vanishing-point.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vanishing-point.cpp b/src/vanishing-point.cpp
index bd1c8f5b0..c4540fa73 100644
--- a/src/vanishing-point.cpp
+++ b/src/vanishing-point.cpp
@@ -16,6 +16,10 @@
namespace Box3D {
+Axis axes[3] = { X, Y, Z };
+Axis planes[3] = { XY, XZ, YZ };
+FrontOrRear face_positions [2] = { FRONT, REAR };
+
// FIXME: We should always require to have both the point (for finite VPs)
// and the direction (for infinite VPs) set. Otherwise toggling
// shows very unexpected behaviour.