diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-07-04 10:26:36 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-07-04 10:26:36 +0000 |
| commit | 667a24e083df3651723b6d78ed8058366a772e21 (patch) | |
| tree | f5562860dfbbd33b0f37ff6519312a63d117811d /src/perspective-line.cpp | |
| parent | Added missing #ifdefs for HAVE_POPPLER_GLIB (diff) | |
| download | inkscape-667a24e083df3651723b6d78ed8058366a772e21.tar.gz inkscape-667a24e083df3651723b6d78ed8058366a772e21.zip | |
New/updated 3D box auxiliary/convenience functions (e.g., allow (un)constrained movement of corners, too; determine midpoints of edges)
(bzr r3183)
Diffstat (limited to '')
| -rw-r--r-- | src/perspective-line.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/perspective-line.cpp b/src/perspective-line.cpp index 158ddd47b..e5596cc1b 100644 --- a/src/perspective-line.cpp +++ b/src/perspective-line.cpp @@ -19,6 +19,7 @@ PerspectiveLine::PerspectiveLine (NR::Point const &pt, Box3D::Axis const axis, P Line (pt, *(perspective->get_vanishing_point(axis)), true) { g_assert (perspective != NULL); + g_assert (Box3D::is_single_axis_direction (axis)); if (perspective->get_vanishing_point(axis)->state == VP_INFINITE) { this->set_direction(perspective->get_vanishing_point(axis)->v_dir); |
