diff options
Diffstat (limited to 'svx/source/sdr/contact/viewcontactofe3dlathe.cxx')
-rw-r--r-- | svx/source/sdr/contact/viewcontactofe3dlathe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/contact/viewcontactofe3dlathe.cxx b/svx/source/sdr/contact/viewcontactofe3dlathe.cxx index 0d9d0714aa56..bcaa1c367f97 100644 --- a/svx/source/sdr/contact/viewcontactofe3dlathe.cxx +++ b/svx/source/sdr/contact/viewcontactofe3dlathe.cxx @@ -72,7 +72,7 @@ namespace sdr::contact const sal_uInt32 nVerticalSegments(GetE3dLatheObj().GetVerticalSegments()); const double fDiagonal(static_cast<double>(GetE3dLatheObj().GetPercentDiagonal()) / 100.0); const double fBackScale(static_cast<double>(GetE3dLatheObj().GetBackScale()) / 100.0); - const double fRotation((static_cast<double>(GetE3dLatheObj().GetEndAngle()) / 1800.0) * M_PI); + const double fRotation(basegfx::deg2rad<10>(GetE3dLatheObj().GetEndAngle())); const bool bSmoothNormals(GetE3dLatheObj().GetSmoothNormals()); // Plane itself const bool bSmoothLids(GetE3dLatheObj().GetSmoothLids()); // Front/back const bool bCharacterMode(GetE3dLatheObj().GetCharacterMode()); |