summaryrefslogtreecommitdiffstats
path: root/src/vanishing-point.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-07-03 19:20:05 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-07-03 19:20:05 +0000
commitf8cc46b3acde97db3e3dfccaaf1bf89ec5e377cb (patch)
tree29cad0cae83773db2f14b0552495c2c78c71e96a /src/vanishing-point.h
parentOnly create the faces of a 3D box when needed (use pointers to refer to them). (diff)
downloadinkscape-f8cc46b3acde97db3e3dfccaaf1bf89ec5e377cb.tar.gz
inkscape-f8cc46b3acde97db3e3dfccaaf1bf89ec5e377cb.zip
Refactoring of 3D box internals.
Handle the corners in the box itself and only link to them from the separate faces. This way we can make the code *much* cleaner and more generic. Provide generic auxiliary functions for the movement of corners in XY-plane and Z-direction. (bzr r3171)
Diffstat (limited to 'src/vanishing-point.h')
-rw-r--r--src/vanishing-point.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vanishing-point.h b/src/vanishing-point.h
index 3be5d085e..b94193adc 100644
--- a/src/vanishing-point.h
+++ b/src/vanishing-point.h
@@ -28,6 +28,10 @@ enum Axis {
X = 1,
Y = 2,
Z = 4,
+ XY = 3,
+ XZ = 5,
+ YZ = 6,
+ XYZ = 7,
NONE = 0
};