summaryrefslogtreecommitdiff
path: root/chart2/source/inc/ThreeDHelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-19 16:02:29 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:23 +0200
commit0339e648a8d4d78f8271af07965876fae81d1570 (patch)
tree14f7a4616185232973e59351e9e7524fac9e36a1 /chart2/source/inc/ThreeDHelper.hxx
parent468ff4b3b6e20cab284b5f6dbd7c8aa5a1ba1264 (diff)
loplugin:constantfunction: chart2
Change-Id: I2ec1eaf9faa23779fbdf53771dbba1936c6aa3f9
Diffstat (limited to 'chart2/source/inc/ThreeDHelper.hxx')
-rw-r--r--chart2/source/inc/ThreeDHelper.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/inc/ThreeDHelper.hxx b/chart2/source/inc/ThreeDHelper.hxx
index 6c27f253231c..41427ab0435d 100644
--- a/chart2/source/inc/ThreeDHelper.hxx
+++ b/chart2/source/inc/ThreeDHelper.hxx
@@ -83,8 +83,9 @@ public:
, bool bRightAngledAxes, bool bRotateLights=true );
static void adaptRadAnglesForRightAngledAxes( double& rfXAngleRad, double& rfYAngleRad );
- static double getXDegreeAngleLimitForRightAngledAxes();
- static double getYDegreeAngleLimitForRightAngledAxes();
+ static double getXDegreeAngleLimitForRightAngledAxes() { return 90.0; }
+ static double getYDegreeAngleLimitForRightAngledAxes() { return 45.0; }
+
static double getValueClippedToRange( double fValue, const double& fPositivLimit );
static void convertElevationRotationDegToXYZAngleRad(