diff options
author | Armin Weiss <aw@openoffice.org> | 2008-06-10 08:29:56 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2008-06-10 08:29:56 +0000 |
commit | 4eed20ca2861504ee08ee50f7173a74bfb56bfa5 (patch) | |
tree | f3385d455bfdcc7dfa611b767898e13376f7085b /drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx | |
parent | 58f9ce012e902af26b4021fe50b20a7da91ee7bd (diff) |
#i39532# changed 3d primitive stuff to use viewinformation3d
Diffstat (limited to 'drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx')
-rw-r--r-- | drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx index d3f98fa9ea74..74a5713b69e8 100644 --- a/drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sdrsphereprimitive3d.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: aw $ $Date: 2008-05-27 14:11:21 $ + * last change: $Author: aw $ $Date: 2008-06-10 09:29:33 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -54,7 +54,7 @@ namespace drawinglayer { namespace primitive3d { - Primitive3DSequence SdrSpherePrimitive3D::createLocalDecomposition(double /*fTime*/) const + Primitive3DSequence SdrSpherePrimitive3D::createLocalDecomposition(const geometry::ViewInformation3D& /*rViewInformation*/) const { Primitive3DSequence aRetval; const basegfx::B3DRange aUnitRange(0.0, 0.0, 0.0, 1.0, 1.0, 1.0); @@ -162,11 +162,7 @@ namespace drawinglayer appendPrimitive3DSequenceToPrimitive3DSequence(aRetval, aShadow); } -#ifdef DBG_UTIL - return EventuallyAddTestRange(aRetval); -#else return aRetval; -#endif } SdrSpherePrimitive3D::SdrSpherePrimitive3D( @@ -195,7 +191,7 @@ namespace drawinglayer return false; } - basegfx::B3DRange SdrSpherePrimitive3D::getB3DRange(double /*fTime*/) const + basegfx::B3DRange SdrSpherePrimitive3D::getB3DRange(const geometry::ViewInformation3D& /*rViewInformation*/) const { // use defaut from sdrPrimitive3D which uses transformation expanded by line width/2 // The parent implementation which uses the ranges of the decomposition would be more |