diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-07-10 13:58:55 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-07-10 13:58:55 +0000 |
| commit | de3ad1fa20e7a33a0524d3cf11502be0241b4cfe (patch) | |
| tree | 58e422543527a7c5460bff7553039ac171245dfd /src/box3d-face.h | |
| parent | More 3D auxiliary/convenience functions (diff) | |
| download | inkscape-de3ad1fa20e7a33a0524d3cf11502be0241b4cfe.tar.gz inkscape-de3ad1fa20e7a33a0524d3cf11502be0241b4cfe.zip | |
Create all 3D box faces in the beginning (fixes resizing bug; first step towards correct handling of degenerate boxes)
(bzr r3212)
Diffstat (limited to 'src/box3d-face.h')
| -rw-r--r-- | src/box3d-face.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/box3d-face.h b/src/box3d-face.h index 3b96937b6..08729150e 100644 --- a/src/box3d-face.h +++ b/src/box3d-face.h @@ -25,11 +25,8 @@ class SP3DBox; class Box3DFace { public: - Box3DFace(SP3DBox *box3d); - Box3DFace(SP3DBox *box3d, NR::Point &A, NR::Point &B, NR::Point &C, NR::Point &D); - //Box3DFace(SP3DBox *box3d, NR::Point const ul, NR::Point const lr, - // Box3D::Axis const dir1, Box3D::Axis const dir2, - // unsigned int shift_count = 0, NR::Maybe<NR::Point> pt_align = NR::Nothing(), bool align_along_PL = false); + Box3DFace(SP3DBox *box, NR::Point &A, NR::Point &B, NR::Point &C, NR::Point &D, + Box3D::Axis plane, Box3D::FrontOrRear rel_pos); Box3DFace(Box3DFace const &box3dface); ~Box3DFace(); @@ -57,7 +54,7 @@ private: Box3D::Axis dir2; SPPath *path; - SP3DBox *parent_box3d; // the parent box + SP3DBox *parent_box3d; }; #endif |
