loplugin:unusedmethods

Change-Id: I5eec1b68efc285995db3b5825699c07fa006cb35
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207375
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
Xisco Fauli
2026-06-29 10:16:53 +02:00
parent bd90af59c0
commit 00aebb5e88
45 changed files with 27 additions and 530 deletions
-10
View File
@@ -974,16 +974,6 @@ double box2DBody::getAngle() const
return ::basegfx::rad2deg(-fAngle);
}
void box2DBody::setAngle(const double fAngle)
{
#if BOX2D_CHECK_VERSION(3, 0)
b2Body_SetTransform(*mpBox2DBody, b2Body_GetPosition(*mpBox2DBody),
b2MakeRot(::basegfx::deg2rad(-fAngle)));
#else
mpBox2DBody->SetTransform(mpBox2DBody->GetPosition(), ::basegfx::deg2rad(-fAngle));
#endif
}
void box2DBody::setDensityAndRestitution(const double fDensity, const double fRestitution)
{
#if BOX2D_CHECK_VERSION(3, 0)
-7
View File
@@ -408,13 +408,6 @@ public:
/// @return current angle of rotation of the body
double getAngle() const;
/** Set angle of the box2d body
@param fAngle
Angle in degrees
*/
void setAngle(const double fAngle);
/** Set density and restitution of the box2d body
@param fDensity