diff --git a/Library/include/playrho/d2/Body.hpp b/Library/include/playrho/d2/Body.hpp index 20b15913f..76a86992e 100644 --- a/Library/include/playrho/d2/Body.hpp +++ b/Library/include/playrho/d2/Body.hpp @@ -99,8 +99,6 @@ class Body /// @post GetInvRotI() returns InvRotInertia{} if /// bd.type != BodyType::Dynamic, otherwise it returns value of /// @a bd.invRotI. - /// @post GetTransformation() will return the value of - /// ::playrho::d2::GetTransformation(const BodyConf&) given @a bd. /// @post GetVelocity() will return the value as if /// SetVelocity(const Velocity&) had been called with the values of /// @a bd.linearVelocity and @a bd.angularVelocity as the velocity. diff --git a/Library/include/playrho/d2/BodyConf.hpp b/Library/include/playrho/d2/BodyConf.hpp index e2a9bf175..31be6158d 100644 --- a/Library/include/playrho/d2/BodyConf.hpp +++ b/Library/include/playrho/d2/BodyConf.hpp @@ -418,10 +418,6 @@ constexpr BodyConf GetDefaultBodyConf() noexcept /// @relatedalso Body BodyConf GetBodyConf(const Body& body); -/// @brief Gets the transformation associated with the given configuration. -/// @relatedalso BodyConf -Transformation GetTransformation(const BodyConf& conf) noexcept; - /// @brief Gets the location of the given configuration. /// @relatedalso BodyConf constexpr auto GetLocation(const BodyConf& conf) noexcept diff --git a/Library/source/playrho/d2/BodyConf.cpp b/Library/source/playrho/d2/BodyConf.cpp index d1fc0b667..69849c391 100644 --- a/Library/source/playrho/d2/BodyConf.cpp +++ b/Library/source/playrho/d2/BodyConf.cpp @@ -50,10 +50,4 @@ BodyConf GetBodyConf(const Body& body) return def; } -Transformation GetTransformation(const BodyConf& conf) noexcept -{ - // This must match what GetTransformation(Body{}) returns - return GetTransform1(conf.sweep); -} - } // namespace playrho::d2